Supported data types:
📘 LogsConfiguration
Advanced Options
Logstash Index Configuration
The Elasticsearch exporter supports dynamic index configuration through Logstash. You can specify the target index for your logs using theelasticsearch.index field in your Logstash configuration.
Example Logstash Configuration
- The exporter will use the
elasticsearch.indexattribute to determine the target index - The index name can include dynamic date patterns (e.g.,
%{+YYYY.MM.dd}) - You can use any Logstash condition to set different indices based on your requirements
Notes
- If
elasticsearch.indexis not set, the exporter will use the default index configuration - The index name must follow Elasticsearch naming conventions
- Date patterns in the index name will be evaluated at the time of sending the logs