mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
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:
parent
f41de00841
commit
edd3ff5740
4 changed files with 11 additions and 15 deletions
|
@ -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'
|
||||
};
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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
|
||||
|
|
|
@ -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 %>',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue