removed unused default settings, fixed bug where pie would query twice

This commit is contained in:
Rashid Khan
2013-02-26 15:46:31 -07:00
parent e61c63b4f1
commit ffbddb4fae
3 changed files with 3 additions and 17 deletions

View File

@@ -2,22 +2,9 @@
// To add a setting, you MUST define a default.
var Settings = function (s) {
var _d = {
timespan : '1h',
refresh : 10000,
elasticsearch : 'localhost:9200',
perpage : 50,
timezone : 'user',
timeformat : 'mm/dd HH:MM:ss',
timefield : '@timestamp',
defaultfields : ['@message'],
operator : 'OR',
exportdelim : ',',
smartindex : true,
indexpattern : 'logstash-%Y.%m.%d',
indexlimit : 150,
indexdefault : 'logstash-*',
primaryfield : '_all',
modules : []
modules : [],
}
// This initializes a new hash on purpose, to avoid adding parameters to
@@ -29,4 +16,4 @@ var Settings = function (s) {
return _s;
};
};