I’m asking how do you configure the (elastic) index.refresh_interval in your graylog environment ?
I’ve read that it could be possible to do this by :
configuring elasticsearch.yml (but some has reported that this doesn’t work)
index setting (but it seems that it not applied on every new index)
updating graylog template (but I don’t want to break my graylog install ! ;-))
So what is the best/more effective way to achieve this ? I 'm looking for a solution where the setting is applied on every new index
Also, do you know any way to get actual index.refresh_interval setting ?
I tried with curl localhost:9200/graylog_*?pretty=true but no trace of index.refresh_interval
Yes, correct. Index templates are only applied when creating new indices.
This being said, make sure to include all index prefixes you have in other index sets and not just graylog_*, if you want to apply the settings to all newly created indices.