config.js 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /**
  2. * These is the app's configuration, If you need to configure
  3. * the default dashboard, please see dashboards/default
  4. */
  5. define(['settings'],
  6. function (Settings) {
  7. return new Settings({
  8. /**
  9. * URL to your elasticsearch server. You almost certainly don't
  10. * want 'http://localhost:9200' here. Even if Kibana and ES are on
  11. * the same host
  12. *
  13. * By default this will attempt to reach ES at the same host you have
  14. * elasticsearch installed on. You probably want to set it to the FQDN of your
  15. * elasticsearch host
  16. * @type {String}
  17. */
  18. elasticsearch: "http://"+window.location.hostname+":9200",
  19. /**
  20. * The default ES index to use for storing Kibana specific object
  21. * such as stored dashboards
  22. * @type {String}
  23. */
  24. kibana_index: "kibana-int",
  25. /**
  26. * Panel modules available. Panels will only be loaded when they are defined in the
  27. * dashboard, but this list is used in the "add panel" interface.
  28. * @type {Array}
  29. */
  30. panel_names: [
  31. 'histogram',
  32. 'map',
  33. 'pie',
  34. 'table',
  35. 'filtering',
  36. 'timepicker',
  37. 'text',
  38. 'fields',
  39. 'hits',
  40. 'dashcontrol',
  41. 'column',
  42. 'derivequeries',
  43. 'trends',
  44. 'bettermap',
  45. 'query',
  46. 'terms'
  47. ]
  48. });
  49. });