~xfactor973/charms/trusty/kibana/version_bump

« back to all changes in this revision

Viewing changes to files/charm/config.js

  • Committer: amulet at dummy-user
  • Date: 2014-04-28 19:15:51 UTC
  • mfrom: (7.1.1 kibana)
  • Revision ID: amulet@dummy-user.tld-20140428191551-jfplpax22fx12v20
[justin-fathomdb] Update to kibana 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/**
2
 
 * These is the app's configuration, If you need to configure
3
 
 * the default dashboard, please see dashboards/default
 
1
/** @scratch /configuration/config.js/1
 
2
 *
 
3
 * == Configuration
 
4
 * config.js is where you will find the core Kibana configuration. This file contains parameter that
 
5
 * must be set before kibana is run for the first time.
4
6
 */
5
7
define(['settings'],
6
8
function (Settings) {
7
9
  
8
10
 
 
11
  /** @scratch /configuration/config.js/2
 
12
   *
 
13
   * === Parameters
 
14
   */
9
15
  return new Settings({
10
16
 
11
 
    /**
12
 
     * URL to your elasticsearch server. You almost certainly don't
13
 
     * want 'http://localhost:9200' here. Even if Kibana and ES are on
14
 
     * the same host
15
 
     *
16
 
     * By default this will attempt to reach ES at the same host you have
17
 
     * elasticsearch installed on. You probably want to set it to the FQDN of your
 
17
    /** @scratch /configuration/config.js/5
 
18
     *
 
19
     * ==== elasticsearch
 
20
     *
 
21
     * The URL to your elasticsearch server. You almost certainly don't
 
22
     * want +http://localhost:9200+ here. Even if Kibana and Elasticsearch are on
 
23
     * the same host. By default this will attempt to reach ES at the same host you have
 
24
     * kibana installed on. You probably want to set it to the FQDN of your
18
25
     * elasticsearch host
19
 
     * @type {String}
20
26
     */
21
27
    elasticsearch: "http://"+window.location.hostname,
22
28
 
23
 
    /**
 
29
    /** @scratch /configuration/config.js/5
 
30
     *
 
31
     * ==== default_route
 
32
     *
 
33
     * This is the default landing page when you don't specify a dashboard to load. You can specify
 
34
     * files, scripts or saved dashboards here. For example, if you had saved a dashboard called
 
35
     * `WebLogs' to elasticsearch you might use:
 
36
     *
 
37
     * default_route: '/dashboard/elasticsearch/WebLogs',
 
38
     */
 
39
    default_route     : '/dashboard/file/default.json',
 
40
 
 
41
    /** @scratch /configuration/config.js/5
 
42
     *
 
43
     * ==== kibana-int
 
44
     *
24
45
     * The default ES index to use for storing Kibana specific object
25
46
     * such as stored dashboards
26
 
     * @type {String}
27
47
     */
28
48
    kibana_index: "kibana-int",
29
49
 
30
 
    /**
31
 
     * Panel modules available. Panels will only be loaded when they are defined in the
 
50
    /** @scratch /configuration/config.js/5
 
51
     *
 
52
     * ==== panel_name
 
53
     *
 
54
     * An array of panel modules available. Panels will only be loaded when they are defined in the
32
55
     * dashboard, but this list is used in the "add panel" interface.
33
 
     * @type {Array}
34
56
     */
35
57
    panel_names: [
36
58
      'histogram',
37
59
      'map',
38
 
      'pie',
 
60
      'goal',
39
61
      'table',
40
62
      'filtering',
41
63
      'timepicker',
42
64
      'text',
43
 
      'fields',
44
65
      'hits',
45
 
      'dashcontrol',
46
66
      'column',
47
 
      'derivequeries',
48
67
      'trends',
49
68
      'bettermap',
50
69
      'query',
51
 
      'terms'
 
70
      'terms',
 
71
      'stats',
 
72
      'sparklines'
52
73
    ]
53
74
  });
54
75
});
 
 
b'\\ No newline at end of file'