-
Hello, My problem is that each log sent is creating a new index, so i end up having a very large number of indices. What I'd like to have is one index per day, and keep them for only 7 days. this is the config i have for the index name: And what i see in kibana are a lot of indexes created like this: odc-dev-new-1970.02.10 this is the config i'm using to send the logs:
For index name i have: What am I missing in my config ? thank you, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is a logstash-format index. The part YYYY-MM-DD is filled My guess is that you're teaching
|
Beta Was this translation helpful? Give feedback.
This is a logstash-format index. The part YYYY-MM-DD is filled
by Fluentd using the timestamp of each message.
My guess is that you're teaching
out_elasticsarch
to look at a wrong time field.Try removing
time_key
option from your config and see if it works: