Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
e95503fe
Commit
e95503fe
authored
Nov 26, 2013
by
Rashid Khan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Doc updates
parent
22993c46
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
22 deletions
+29
-22
docs/configuration/config.js.asciidoc
+17
-9
src/config.js
+10
-12
tasks/options/scratchy.js
+2
-1
No files found.
docs/configuration/config.js.asciidoc
View file @
e95503fe
= Config.js =
= Kibana =
== Configuration ==
config.js is where you will find the core Kibana configuration. This file contains parameter that
config.js is where you will find the core Kibana configuration. This file contains parameter that
must be set before kibana is run for the first time.
must be set before kibana is run for the first time.
== Parameters ==
// src/config.js:1
=== elasticsearch ===
=== Parameters ===
// src/config.js:13
The URL to your elasticsearch server. You almost certainly don't
==== elasticsearch ====
want 'http://localhost:9200' here. Even if Kibana and Elasticsearch are on
the same host
By default this will attempt to reach ES at the same host you have
The URL to your elasticsearch server. You almost certainly don't
want +http://localhost:9200+ here. Even if Kibana and Elasticsearch are on
the same host. By default this will attempt to reach ES at the same host you have
elasticsearch installed on. You probably want to set it to the FQDN of your
elasticsearch installed on. You probably want to set it to the FQDN of your
elasticsearch host
elasticsearch host
// src/config.js:18
===
kibana-int
===
===
= kibana-int =
===
The default ES index to use for storing Kibana specific object
The default ES index to use for storing Kibana specific object
such as stored dashboards
such as stored dashboards
// src/config.js:29
===
panel_name
===
===
= panel_name =
===
An array of panel modules available. Panels will only be loaded when they are defined in the
An array of panel modules available. Panels will only be loaded when they are defined in the
dashboard, but this list is used in the "add panel" interface.
dashboard, but this list is used in the "add panel" interface.
// src/config.js:37
src/config.js
View file @
e95503fe
/** @scratch /configuration/config.js/1
/** @scratch /configuration/config.js/1
* = Config.js =
*
* = Kibana =
*
* == Configuration ==
* config.js is where you will find the core Kibana configuration. This file contains parameter that
* config.js is where you will find the core Kibana configuration. This file contains parameter that
* must be set before kibana is run for the first time.
* must be set before kibana is run for the first time.
*/
*/
...
@@ -8,27 +11,23 @@ function (Settings) {
...
@@ -8,27 +11,23 @@ function (Settings) {
"use strict"
;
"use strict"
;
/** @scratch /configuration/config.js/2
/** @scratch /configuration/config.js/2
* ==
Parameters
==
* ==
= Parameters =
==
*/
*/
return
new
Settings
({
return
new
Settings
({
/** @scratch /configuration/config.js/5
/** @scratch /configuration/config.js/5
*
* ==== elasticsearch ====
* === elasticsearch ===
*
*
* The URL to your elasticsearch server. You almost certainly don't
* The URL to your elasticsearch server. You almost certainly don't
* want 'http://localhost:9200' here. Even if Kibana and Elasticsearch are on
* want +http://localhost:9200+ here. Even if Kibana and Elasticsearch are on
* the same host
* the same host. By default this will attempt to reach ES at the same host you have
*
* By default this will attempt to reach ES at the same host you have
* elasticsearch installed on. You probably want to set it to the FQDN of your
* elasticsearch installed on. You probably want to set it to the FQDN of your
* elasticsearch host
* elasticsearch host
*/
*/
elasticsearch
:
"http://"
+
window
.
location
.
hostname
+
":9200"
,
elasticsearch
:
"http://"
+
window
.
location
.
hostname
+
":9200"
,
/** @scratch /configuration/config.js/5
/** @scratch /configuration/config.js/5
*
* ==== kibana-int ====
* === kibana-int ===
*
*
* The default ES index to use for storing Kibana specific object
* The default ES index to use for storing Kibana specific object
* such as stored dashboards
* such as stored dashboards
...
@@ -36,8 +35,7 @@ function (Settings) {
...
@@ -36,8 +35,7 @@ function (Settings) {
kibana_index
:
"kibana-int"
,
kibana_index
:
"kibana-int"
,
/** @scratch /configuration/config.js/5
/** @scratch /configuration/config.js/5
*
* ==== panel_name ====
* === panel_name ===
*
*
* An array of panel modules available. Panels will only be loaded when they are defined in the
* An array of panel modules available. Panels will only be loaded when they are defined in the
* dashboard, but this list is used in the "add panel" interface.
* dashboard, but this list is used in the "add panel" interface.
...
...
tasks/options/scratchy.js
View file @
e95503fe
...
@@ -5,7 +5,8 @@ module.exports = function(config) {
...
@@ -5,7 +5,8 @@ module.exports = function(config) {
dest
:
config
.
docsDir
,
dest
:
config
.
docsDir
,
options
:
{
options
:
{
unslash
:
true
,
unslash
:
true
,
extension
:
'.asciidoc'
extension
:
'.asciidoc'
,
annotate
:
'// '
}
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment