啓動powershell
shell
###################### Metricbeat Configuration Example ####################### #========================== Modules configuration ============================ metricbeat.modules: #------------------------------- System Module ------------------------------- - module: system metricsets: # CPU stats - cpu # System Load stats #- load # Per CPU core stats #- core # IO stats #- diskio # Per filesystem stats - filesystem # File system summary stats - fsstat # Memory stats - memory # Network stats - network # Per process stats - process enabled: true period: 10s processes: ['.*'] #-------------------------- Kafka output ------------------------------ output.kafka: # Array of hosts to connect to. hosts: ["192.168.184.188:9092", "192.168.184.178:9092", "192.168.184.168:9092"] # message topic selection + partitioning topic: 'meinv' partition.round_robin: reachable_only: false required_acks: 1 compression: none max_message_bytes: 1000000