Changed default index prefix to marvel-

This commit is contained in:
Boaz Leskes 2013-11-06 18:18:54 +01:00
parent ab5cc3144e
commit b8c7cb8655
4 changed files with 8 additions and 8 deletions

View file

@ -2038,7 +2038,7 @@
"failover": false,
"index": {
"interval": "day",
"pattern": "[es_monitor-]YYYY.MM.DD",
"pattern": "[marvel-]YYYY.MM.DD",
"default": "_all"
},
"style": "dark",

View file

@ -308,7 +308,7 @@
"failover": false,
"index": {
"interval": "day",
"pattern": "[es_monitor-]YYYY.MM.DD",
"pattern": "[marvel-]YYYY.MM.DD",
"default": "_all"
},
"style": "dark",

View file

@ -1111,7 +1111,7 @@
"failover": false,
"index": {
"interval": "day",
"pattern": "[es_monitor-]YYYY.MM.DD",
"pattern": "[marvel-]YYYY.MM.DD",
"default": "_all"
},
"style": "dark",
@ -1127,13 +1127,13 @@
"history": [
"_type:shard_stats",
"*",
"index:\"es_monitor-2013.10.21\"",
"index:\"marvel-2013.10.21\"",
"index:\"index\"",
"index:\"es_monitor-2013.10.01\"",
"index:\"marvel-2013.10.01\"",
"index:\"kibana-int\"",
"index:\"es_monitor-2013.10.17\"",
"index:\"marvel-2013.10.17\"",
"index:\"index2\" AND (_type:shard_stats)",
"index:\"es_monitor-2013.10.16\" AND (_type:shard_stats)",
"index:\"marvel-2013.10.16\" AND (_type:shard_stats)",
"index:\"kibana-int\" AND (_type:shard_stats)"
],
"remember": 10

View file

@ -86,7 +86,7 @@ public class ESExporter extends AbstractLifecycleComponent<ESExporter> implement
hosts = settings.getAsArray("hosts", new String[]{"localhost:9200"});
indexPrefix = settings.get("index.prefix", "es_monitor");
indexPrefix = settings.get("index.prefix", "marvel");
String indexTimeFormat = settings.get("index.timeformat", "YYYY.MM.dd");
indexTimeFormatter = DateTimeFormat.forPattern(indexTimeFormat);