config.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. The settings before the break are the only ones that are currently implemented
  3. The remaining settings do nothing
  4. elasticsearch: URL to your elasticsearch server
  5. timeformat: Format for time in histograms (might go away)
  6. modules: Panel modules to load. In the future these will be inferred
  7. from your initial dashboard, though if you share dashboards you
  8. will probably need to list them all here
  9. NOTE: No timezone support yet, everything is in UTC at the moment.
  10. If you need to configure the default dashboard, please see dashboard.js
  11. shared.json contains an example sharable dashboard. Note the subtle differences
  12. between dashboard.js and shared.json. One is a javascript object, the other is
  13. json.
  14. */
  15. var config = new Settings(
  16. {
  17. elasticsearch: 'http://localhost:9200',
  18. timeformat: 'mm/dd HH:MM:ss',
  19. modules: ['histogram','map','pie','table','stringquery','sort',
  20. 'timepicker','text','fields','hits'],
  21. perpage: 50,
  22. timezone: 'user',
  23. operator: 'OR',
  24. exportdelim: ',',
  25. smartindex: true,
  26. indexlimit: 150,
  27. indexdefault: 'logstash-*',
  28. primaryfield: '_all'
  29. }
  30. );