-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add descriptions of all advanced settings. Add informational text abo…
…ut object viewer. Closes #373
- Loading branch information
Rashid Khan
committed
Sep 25, 2014
1 parent
45c4701
commit be38749
Showing
6 changed files
with
59 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,50 @@ | ||
define(function (require) { | ||
var _ = require('lodash'); | ||
|
||
return _.flattenWith('.', { | ||
dateFormat: 'MMMM Do YYYY, HH:mm:ss.SSS', | ||
defaultIndex: null, | ||
refreshInterval: 10000, | ||
metaFields: ['_source', '_id', '_type', '_index'], | ||
|
||
'discover:sampleSize': 500, | ||
'fields:popularLimit': 10, | ||
|
||
'histogram:barTarget': 50, | ||
'histogram:maxBars': 100, | ||
|
||
'csv:separator': ',', | ||
'csv:quoteValues': true, | ||
|
||
'history:limit': 10, | ||
|
||
'shortDots:enable': false | ||
}); | ||
return { | ||
'dateFormat': { | ||
value: 'MMMM Do YYYY, HH:mm:ss.SSS', | ||
description: 'When displaying a pretty formatted date, use this format', | ||
}, | ||
'defaultIndex': { | ||
value: null, | ||
description: 'The index to access if no index is set', | ||
}, | ||
'metaFields': { | ||
value: ['_source', '_id', '_type', '_index'], | ||
description: 'Fields that exist outside of _source to merge into our document when displaying it', | ||
}, | ||
'discover:sampleSize': { | ||
value: 500, | ||
description: 'The number of rows to show in the table', | ||
}, | ||
'fields:popularLimit': { | ||
value: 10, | ||
description: 'The top N most popular fields to show', | ||
}, | ||
'histogram:barTarget': { | ||
value: 50, | ||
description: 'Attempt to generate around this many bar when using "auto" interval in date histograms', | ||
}, | ||
'histogram:maxBars': { | ||
value: 100, | ||
description: 'Never show more than this many bar in date histograms, scale values if needed', | ||
}, | ||
'csv:separator': { | ||
value: ',', | ||
description: 'Seperate exported values with this string', | ||
}, | ||
'csv:quoteValues': { | ||
value: true, | ||
description: 'Should values be quoted in csv exports?', | ||
}, | ||
'history:limit': { | ||
value: 10, | ||
description: 'In fields that have history (eg query inputs), show this many recent values', | ||
}, | ||
'shortDots:enable': { | ||
value: false, | ||
description: 'Shorten long fields, for example, instead of foo.bar.baz, show f.b.baz', | ||
}, | ||
}; | ||
}); |