Hello,
I am trying to use a single filebeat, enabled with system & apache module to send to elasticsearch. I would want to have a system index and a apache index. How can i do this?
ILM is enabled for me and for a single module, i set my index via this setting:
setup.ilm.enabled: auto
setup.ilm.rollover_alias: "filebeat-linuxclient"
setup.ilm.pattern: "{now/d}-000001"
setup.ilm.overwrite: false
now i would like to have filebeat-linuxclient-system and filebeat-linuxclient-apache as the alias.
This is my current filebeat.yml file settings for enabling system module:
filebeat.inputs:
filebeat.config.modules:
path: ${path.config}/modules.d/*.yml
reload.enabled: true
setup.template.settings:
index.number_of_shards: 1
setup.kibana:
host: "kibana:5601"
output.elasticsearch:
hosts: ["esnode1:9200", "esnode2:9200", "esnode3:9200"]
processors:
- add_host_metadata: ~
- add_cloud_metadata: ~
logging.metrics.period: 60
setup.ilm.enabled: auto
setup.ilm.rollover_alias: "filebeat-linuxclient"
setup.ilm.pattern: "{now/d}-000001"
setup.ilm.overwrite: false
How can i do this?