config.js 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /** @scratch /configuration/config.js/1
  2. * = Config.js =
  3. * config.js is where you will find the core Kibana configuration. This file contains parameter that
  4. * must be set before kibana is run for the first time.
  5. */
  6. define(['settings'],
  7. function (Settings) {
  8. "use strict";
  9. /** @scratch /configuration/config.js/2
  10. * == Parameters ==
  11. */
  12. return new Settings({
  13. /** @scratch /configuration/config.js/5
  14. *
  15. * === elasticsearch ===
  16. *
  17. * The URL to your elasticsearch server. You almost certainly don't
  18. * want 'http://localhost:9200' here. Even if Kibana and Elasticsearch are on
  19. * the same host
  20. *
  21. * By default this will attempt to reach ES at the same host you have
  22. * elasticsearch installed on. You probably want to set it to the FQDN of your
  23. * elasticsearch host
  24. */
  25. elasticsearch: "http://"+window.location.hostname+":9200",
  26. /** @scratch /configuration/config.js/5
  27. *
  28. * === kibana-int ===
  29. *
  30. * The default ES index to use for storing Kibana specific object
  31. * such as stored dashboards
  32. */
  33. kibana_index: "kibana-int",
  34. /** @scratch /configuration/config.js/5
  35. *
  36. * === panel_name ===
  37. *
  38. * An array of panel modules available. Panels will only be loaded when they are defined in the
  39. * dashboard, but this list is used in the "add panel" interface.
  40. */
  41. panel_names: [
  42. 'histogram',
  43. 'map',
  44. 'pie',
  45. 'table',
  46. 'filtering',
  47. 'timepicker',
  48. 'text',
  49. 'fields',
  50. 'hits',
  51. 'dashcontrol',
  52. 'column',
  53. 'derivequeries',
  54. 'trends',
  55. 'bettermap',
  56. 'query',
  57. 'terms',
  58. 'sparklines'
  59. ]
  60. });
  61. });