mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
index naming was not using utc time zone.
This commit is contained in:
parent
ac7ef26211
commit
5577058be1
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ public class ESExporter extends AbstractLifecycleComponent<ESExporter> implement
|
|||
hosts = settings.getAsArray("hosts", new String[]{"localhost:9200"});
|
||||
indexPrefix = settings.get("index.prefix", "marvel");
|
||||
String indexTimeFormat = settings.get("index.timeformat", "YYYY.MM.dd");
|
||||
indexTimeFormatter = DateTimeFormat.forPattern(indexTimeFormat);
|
||||
indexTimeFormatter = DateTimeFormat.forPattern(indexTimeFormat).withZoneUTC();
|
||||
|
||||
timeout = (int) settings.getAsTime("timeout", new TimeValue(6000)).seconds();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue