Commit 2fb64ea0 authored by Zamir Martins Filho's avatar Zamir Martins Filho

Remove different in format for ELK daily indices

With the recent changes, there is not a difference
between the indices across different ELK versions.
parent 13c165bf
...@@ -85,7 +85,7 @@ module Security ...@@ -85,7 +85,7 @@ module Security
# indices # indices
def indices def indices
(@from.to_date..@to.to_date).map do |day| (@from.to_date..@to.to_date).map do |day|
chart_above_v3? ? "filebeat-*-#{day.strftime('%Y.%m.%d')}-*" : "filebeat-*-#{day.strftime('%Y.%m.%d')}" "filebeat-*-#{day.strftime('%Y.%m.%d')}"
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment