Added node & index stats to navigation links. Also normalized paths and removed defaultRoute settings as it is not needed anymore.

This commit is contained in:
Boaz Leskes 2014-01-22 13:15:39 +01:00
parent f41de00841
commit edd3ff5740
4 changed files with 11 additions and 15 deletions

View file

@ -18,10 +18,6 @@ module.exports = function (grunt) {
dev: '"http://" + window.location.hostname + ":'+ (grunt.option('es_port') || 9200) +'/.marvel_cluster_report/report"',
dist: '"http://stats.marvel.elasticsearch.com/"'
},
defaultRoute: {
dev: '/dashboard/file/marvel.overview.json',
dist: '/dashboard/elasticsearch/Marvel%20-%20Overview'
},
kibanaPort: grunt.option('port') || 5601,
kibanaHost: 'localhost'
};

View file

@ -2,15 +2,23 @@
"links": [
{
"name": "Cluster Overview",
"url": "#/dashboard/file/marvel.overview.json"
"url": "/kibana/index.html#/dashboard/file/marvel.overview.json"
},
{
"name": "Cluster Pulse",
"url": "#/dashboard/file/marvel.cluster_pulse.json"
"url": "/kibana/index.html#/dashboard/file/marvel.cluster_pulse.json"
},
{
"name": "Sense",
"url": "/sense/index.html"
},
{
"name": "Node Statistics",
"url": "/kibana/index.html#/dashboard/script/marvel.nodes_stats.js"
},
{
"name": "Index Statistics",
"url": "/kibana/index.html#/dashboard/script/marvel.indices_stats.js"
}
]
}

View file

@ -32,7 +32,7 @@ define(['settings'],
*
* +default_route: '/dashboard/elasticsearch/WebLogs',+
*/
default_route : '@@default_route',
default_route : '/dashboard/file/marvel.overview.json',
/** @scratch /configuration/config.js/5
* ==== kibana-int

View file

@ -8,10 +8,6 @@ module.exports = function (config) {
match: 'port',
replacement: '<%= esPort.dev %>',
},
{
match: 'default_route',
replacement: '<%= defaultRoute.dev %>',
},
{
match: 'stats_report_url',
replacement: '<%= statsReportUrl.dev %>',
@ -29,10 +25,6 @@ module.exports = function (config) {
match: 'port',
replacement: '<%= esPort.dist %>',
},
{
match: 'default_route',
replacement: '<%= defaultRoute.dist %>',
},
{
match: 'stats_report_url',
replacement: '<%= statsReportUrl.dist %>',