Hello,
I am setting up a lab for log collection (Apache, Sophos, ...)
I want to create different indices for each device (Apache, Sophos, Windows, Linux, ...)
Is it possible to create independent indices?
How can this be done?
Could you provide an example link?
I can only get Filebeat to work if the index is the default one.
In this example, Filebeat will read logs from the specified paths and assign a log_type field to each log line based on the source (Apache or Sophos in this case). The index option in the Elasticsearch output is then used to dynamically set the index name based on the log_type field and the current date.
-Hello, I have implemented the example you indicated, but it shows the following message. Exiting: setup.template.name and setup.template.pattern have to be set if index name is modified This message appears every time I modify the default index.
I have deleted the indexes, templates, pipelines, and reloaded them with: filebeat setup -e
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.