max_procs: 4
queue.mem.events: 4096
queue.mem.f lush.min_events: 2048
filebeat.inputs:
- type: log
enabled: true
max_bytes: 20480
recursive_glob.enabled: true
paths:
- /home/xxx/netlog/*/*/*.txt
- type: filestream
enabled: false
paths:
- /var/log/*.log
- type: udp
enabled: true
host: 'localhost:9000'
max_message_size: 10KiB
read_buffer: 0
filebeat.config.modules:
path: ${path.config}/modules.d/*.yml
reload.enabled: false
setup.template.settings:
index.number_of_shards: 1
setup.kibana:
#host: "localhost:5601"
#space.id:
output.kafka:
enabled: true
hosts: ["kafka_host:port"]
topic: uat_log_net
partition.round_robin:
reachable_only: true
worker: 4
required_acks: 1
compression: gzip
max_message_bytes: 1000000
processors:
- add_host_metadata:
when.not.contains.tags: forwarded
- add_cloud_metadata: ~
- add_docker_metadata: ~
- add_kubernetes_metadata: ~