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