Difference between revisions of "Filebeat export config"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | [[filebeat export]] config | ||
+ | |||
+ | |||
+ | filebeat: | ||
+ | config: | ||
+ | modules: | ||
+ | path: [[/opt/homebrew/]]etc/filebeat/modules.d/*.yml | ||
+ | reload: | ||
+ | enabled: false | ||
+ | inputs: | ||
+ | - enabled: false | ||
+ | id: my-filestream-id | ||
+ | paths: | ||
+ | - /var/log/*.log | ||
+ | type: filestream | ||
<pre> | <pre> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
output: | output: | ||
elasticsearch: | elasticsearch: | ||
− | + | hosts: | |
- localhost:9200 | - localhost:9200 | ||
path: | path: |
Latest revision as of 15:53, 29 May 2022
filebeat export config
filebeat: config: modules: path: /opt/homebrew/etc/filebeat/modules.d/*.yml reload: enabled: false inputs: - enabled: false id: my-filestream-id paths: - /var/log/*.log type: filestream
output: elasticsearch: hosts: - localhost:9200 path: config: /opt/homebrew/etc/filebeat data: /opt/homebrew/var/lib/filebeat home: /opt/homebrew/Cellar/filebeat/8.2.2 logs: /opt/homebrew/var/log/filebeat processors: - add_host_metadata: when: not: contains: tags: forwarded - add_cloud_metadata: null - add_docker_metadata: null - add_kubernetes_metadata: null setup: kibana: null template: settings: index: number_of_shards: 1
See also[edit]
filebeat [ modules | test | setup | export ], filebeat --help
- Filebeat,
filebeat.yml
, Filebeat logs
Advertising: