Module: Kibana
- Defined in:
- lib/kibana/rack.rb,
lib/kibana/rack/web.rb,
lib/kibana/rack/version.rb
Defined Under Namespace
Modules: Rack
Constant Summary collapse
- DEFAULT_ELASTICSEARCH_HOST =
'localhost'
- DEFAULT_ELASTICSEARCH_PORT =
9200
- DEFAULT_KIBANA_DASHBOARDS_PATH =
File.('../../../dashboards', __FILE__)
- DEFAULT_KIBANA_DEFAULT_ROUTE =
'/dashboard/file/default.json'
- DEFAULT_KIBANA_INDEX =
'kibana-int'
Class Attribute Summary collapse
-
.elasticsearch_host ⇒ String
The hostname of the Elasticsearch instance to proxy to.
-
.elasticsearch_port ⇒ Fixnum
The port of the Elasticsearch instance to proxy to.
-
.kibana_dashboards_path ⇒ String
The filesystem path to look for Kibana dashboards.
-
.kibana_default_route ⇒ String
The default client-side location that Kibana navigates to.
-
.kibana_index ⇒ String
The name of the internal Elasticsearch index Kibana uses to store metadata and dashboards.
Class Method Summary collapse
-
.configure(&block) ⇒ Object
Yields the Kibana module to allow configuration of global settings.
Class Attribute Details
.elasticsearch_host ⇒ String
The hostname of the Elasticsearch instance to proxy to.
18 19 20 |
# File 'lib/kibana/rack.rb', line 18 def elasticsearch_host @elasticsearch_host end |
.elasticsearch_port ⇒ Fixnum
The port of the Elasticsearch instance to proxy to.
22 23 24 |
# File 'lib/kibana/rack.rb', line 22 def elasticsearch_port @elasticsearch_port end |
.kibana_dashboards_path ⇒ String
The filesystem path to look for Kibana dashboards.
26 27 28 |
# File 'lib/kibana/rack.rb', line 26 def kibana_dashboards_path @kibana_dashboards_path end |
.kibana_default_route ⇒ String
The default client-side location that Kibana navigates to.
30 31 32 |
# File 'lib/kibana/rack.rb', line 30 def kibana_default_route @kibana_default_route end |
.kibana_index ⇒ String
The name of the internal Elasticsearch index Kibana uses to store metadata and dashboards.
34 35 36 |
# File 'lib/kibana/rack.rb', line 34 def kibana_index @kibana_index end |
Class Method Details
.configure(&block) ⇒ Object
Yields the Kibana module to allow configuration of global settings.
37 38 39 |
# File 'lib/kibana/rack.rb', line 37 def configure(&block) block.call(self) end |