i am currently experimenting with filebeat and noticed that, when filebeat creates the standard indicies, it comes with a huge count of field mappings.
I suppose it should work this way. You need to setup all fields in advance (due to the solution design). If you prefer to have only relevant fields, please take a look at the Fleet/Ingest Management in Kibana. It's the agent based environment, where you automatically install only parts you really need (e.g. a subset of fields used by enabled integrations).
Hey thanks for the answer.
I as thought about it for a while it makes sense.
It is also grouped by types (mysql, apache, etc.) (i guess) so it would makes sense now.
As you just said, Filebeat has to create every possible type-mapping because all the logs flow into the same index.
Tho imagine apache-, mysql- and aws logs are all stored in the same filebeat-7.9.1-2020-10-16 index and i would create an index-pattern in kibana, e.g. filebeat*. Is there a way to filter during search only for apache-logs?
It seems quite a lot to search through all possible filebeat logs and then to filter based on the type.
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.