Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix default dashboard #42

Merged
merged 1 commit into from
Apr 11, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
120 changes: 66 additions & 54 deletions dashboards/default
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"title": "Options",
"height": "50px",
"editable": true,
"collapse": true,
"collapse": false,
"collapsable": true,
"panels": [
{
Expand All @@ -28,7 +28,7 @@
"2d",
"5d"
],
"timespan": "15m",
"timespan": "6h",
"timefield": "@timestamp",
"index": "\"logstash-\"yyyy.mm.dd",
"defaultindex": "NOINDEX",
Expand All @@ -37,39 +37,7 @@
"enable": false,
"interval": 30,
"min": 3
},
"time": {
"from": "04/03/2013 08:58:07",
"to": "04/03/2013 09:13:07"
}
}
]
},
{
"title": "Query Control",
"height": "50px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"loading": false,
"error": false,
"span": 7,
"editable": true,
"group": [
"default"
],
"type": "stringquery",
"label": "Search",
"query": "",
"size": 100,
"sort": [
"_score",
"desc"
],
"multi": false,
"multi_arrange": "horizontal"
},
{
"loading": false,
Expand All @@ -96,36 +64,46 @@
"elasticsearch_saveto": "kibana-int",
"temp": true,
"temp_ttl": "30d"
},
}
]
},
{
"title": "Query",
"height": "50px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"loading": false,
"error": false,
"span": 2,
"span": 12,
"editable": true,
"group": [
"default"
],
"type": "hits",
"type": "stringquery",
"label": "Search",
"query": "*",
"style": {
"font-size": "24pt",
"font-weight": "bold"
},
"run_query": false,
"title": "Hits"
"size": 100,
"sort": [
"_score",
"desc"
],
"multi": false,
"multi_arrange": "horizontal"
}
]
},
{
"title": "Graph",
"height": "150px",
"height": "350px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"loading": false,
"error": false,
"span": 12,
"editable": true,
"group": [
Expand All @@ -134,11 +112,11 @@
"type": "histogram",
"query": [
{
"query": "",
"label": ""
"query": "*",
"label": "*"
}
],
"interval": "30s",
"interval": "5m",
"show": [
"points",
"lines",
Expand All @@ -150,9 +128,43 @@
"spyable": true,
"zoomlinks": true,
"index": [
"logstash-2013.04.03"
"logstash-2013.04.11"
],
"fill": 0,
"linewidth": 2,
"bars": true,
"stack": true,
"points": false,
"lines": false,
"legend": true,
"x-axis": true,
"y-axis": true
},
{
"loading": false,
"span": 0,
"editable": true,
"group": [
"default"
],
"fill": 1
"type": "hits",
"query": [
{
"query": "*",
"label": "*"
}
],
"style": {
"font-size": "9pt"
},
"aggregate": false,
"arrangement": "horizontal",
"chart": true,
"counters": true,
"count_pos": "above",
"index": [
"logstash-2013.04.11"
]
}
]
},
Expand All @@ -179,7 +191,7 @@
"@timestamp",
"desc"
],
"query": ""
"query": "*"
},
{
"loading": false,
Expand All @@ -190,7 +202,7 @@
"default"
],
"type": "table",
"query": "",
"query": "*",
"interval": "1y",
"show": [
"bars",
Expand Down Expand Up @@ -218,11 +230,11 @@
],
"sortable": true,
"index": [
"logstash-2013.04.03"
"logstash-2013.04.11"
]
}
]
}
],
"editable": true
}
}
10 changes: 2 additions & 8 deletions panels/histogram/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ angular.module('kibana.histogram', [])
},
selection: {
mode: "x",
color: '#666'
color: '#999'
},
grid: {
backgroundColor: '#fff',
Expand All @@ -258,13 +258,7 @@ angular.module('kibana.histogram', [])
color: "#eee",
hoverable: true,
},
colors: ['#86B22D',
'#BF6730',
'#1D7373',
'#BFB930',
'#BF3030',
'#77207D'
]
colors: ['#86B22D','#BF6730','#1D7373','#BFB930','#BF3030','#77207D']
})

// Work around for missing legend at initialization
Expand Down