Difference between revisions of "Filebeat export config"
Jump to navigation
Jump to search
(Created page with "<pre> filebeat: config: modules: path: /opt/homebrew/etc/filebeat/modules.d/*.yml reload: enabled: false inputs: - enabled: false id: my-file...") |
|||
(3 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: | ||
Line 37: | Line 40: | ||
number_of_shards: 1 | number_of_shards: 1 | ||
</pre> | </pre> | ||
+ | |||
+ | == See also == | ||
+ | * {{filebeat cmd}} | ||
+ | * {{filebeat}} | ||
+ | |||
+ | [[Category:Elasticsearch]] | ||
+ | [[Category:Filebeat]] |
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: