As the setup.template.pattern match them all I guess a templates will be created covering all of them ?
However, how can I add custom filed like show above :
fields:
type: "system"
to a module ? (as I use module instead of processor) I couldn't find the answer on the web.
Also is the the good way to do this ? I feel like letting everything under a filebeat-%{+yyyy.MM.dd} is a bad idea (I end up with 1300+ fields on the index), but I didn't find a "best practices" section about filebeat --> multiples indexes too..
Also is the the good way to do this ? I feel like letting everything under a filebeat-%{+yyyy.MM.dd} is a bad idea (I end up with 1300+ fields on the index), but I didn't find a "best practices" section about filebeat --> multiples indexes too..
Letting everything under filebeat-%{+yyyy.MM.dd} is clearly a bad idea if you have thousands of different fields
But if you do filebeat-%{[fields.type]}
you will have many different filebeat index as you have differents fields.type, and you will avoid the heavy monolithic trash index
However, how can I add custom filed like show above :
```
fields:
type: "system"
```
to a module ? (as I use module instead of processor) I couldn't find the answer on the web.
I don't know , you should test you can try to add - module: thenameofthemodule
and then
As the doc say "Filebeat uses the first matching rule in the array." the log having no module (comming from docker processor should go in the last index)
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.