Is there a link anywhere that details a full filebeat configuration file?
I want to know all of the configuration options that are possible. I have searched but not found anything.
Is there a link anywhere that details a full filebeat configuration file?
I want to know all of the configuration options that are possible. I have searched but not found anything.
It is in the documentation.
And when you install filebeat there is also the filebeat.reference.yml
that you could use.
I have been through that page many times, and cannot yet find a simple page with all the configuration items on it, what am I missing?
As said in the page:
There’s also a full example configuration file called
filebeat.reference.yml
that shows all non-deprecated options.
It is also linked in that same page, the last link in the list is filebeat.reference.yml, this shows you an example file with all non-deprecated items, if you want an exaplanation on each one you will need to follow the links in the documentation.
thanks. This will be very useful.
Maybe I need a different topic, but what goes into this file
setup.ilm.policy_file:
Didn't know about this setting, but according to the documentation:
The path to a JSON file that contains a lifecycle policy configuration. Use this setting to load your own lifecycle policy.
It should be the json that you would use when making a request to the API.
Any idea what that file would look like?
You can check an example here in the documentation.
It is the json part:
{
"policy": {
"_meta": {
"description": "used for nginx log",
"project": {
"name": "myProject",
"department": "myDepartment"
}
},
"phases": {
"warm": {
"min_age": "10d",
"actions": {
"forcemerge": {
"max_num_segments": 1
}
}
},
"delete": {
"min_age": "30d",
"actions": {
"delete": {}
}
}
}
}
}
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.