Difference between revisions of "Filebeat export config"

From wikieduonline
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...")
 
Line 37: Line 37:
 
         number_of_shards: 1
 
         number_of_shards: 1
 
</pre>
 
</pre>
 +
 +
== See also ==
 +
* {{filebeat cmd}}
 +
* {{filebeat}}
 +
 +
[[Category:Elasticsearch]]
 +
[[Category:Filebeat]]

Revision as of 15:52, 29 May 2022

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

Advertising: