You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The translate filter description says "If you set a refresh_interval of 300 seconds (5 minutes) or less then the modified time of the file is checked before reloading. " Under the description of the refresh_interval setting, it says the default is 300 seconds, but that's all. This is confusing and leaves some questions unanswered.
Will the dictionary file be reloaded if the interval is more than 5 minutes? Will an interval of 1 day or 1 week work? Is the file always reloaded after refresh_interval seconds or only if the modified-time of the file indicates that it has changed since the last refresh time? Does the timer reset if Logstash is restarted?
Plugin version: v3.2.3
The text was updated successfully, but these errors were encountered:
The option is refresh_behaviour, not refresh_behavior.
If the refresh_interval is 300 seconds or less, then the modification time is checked. This means you can frequently check the modification time without the overhead of rebuilding the dictionary. If the refresh_interval is greater than 300 (e.g. 1 day or even 1 week) then it does not bother checking the modification time, it just goes ahead and rebuilds the dictionary.
The translate filter description says "If you set a refresh_interval of 300 seconds (5 minutes) or less then the modified time of the file is checked before reloading. " Under the description of the refresh_interval setting, it says the default is 300 seconds, but that's all. This is confusing and leaves some questions unanswered.
Will the dictionary file be reloaded if the interval is more than 5 minutes? Will an interval of 1 day or 1 week work? Is the file always reloaded after refresh_interval seconds or only if the modified-time of the file indicates that it has changed since the last refresh time? Does the timer reset if Logstash is restarted?
The text was updated successfully, but these errors were encountered: