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
6b214f6c
Commit
6b214f6c
authored
Apr 11, 2013
by
Rashid Khan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix time range in default dashboard
parent
0018a7e3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
68 additions
and
63 deletions
+68
-63
dashboards/default
+66
-55
panels/histogram/module.js
+2
-8
No files found.
dashboards/default
View file @
6b214f6c
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
"title": "Options",
"title": "Options",
"height": "50px",
"height": "50px",
"editable": true,
"editable": true,
"collapse":
tru
e,
"collapse":
fals
e,
"collapsable": true,
"collapsable": true,
"panels": [
"panels": [
{
{
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
"2d",
"2d",
"5d"
"5d"
],
],
"timespan": "
15m
",
"timespan": "
6h
",
"timefield": "@timestamp",
"timefield": "@timestamp",
"index": "\"logstash-\"yyyy.mm.dd",
"index": "\"logstash-\"yyyy.mm.dd",
"defaultindex": "NOINDEX",
"defaultindex": "NOINDEX",
...
@@ -37,39 +37,7 @@
...
@@ -37,39 +37,7 @@
"enable": false,
"enable": false,
"interval": 30,
"interval": 30,
"min": 3
"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,
"loading": false,
...
@@ -96,36 +64,46 @@
...
@@ -96,36 +64,46 @@
"elasticsearch_saveto": "kibana-int",
"elasticsearch_saveto": "kibana-int",
"temp": true,
"temp": true,
"temp_ttl": "30d"
"temp_ttl": "30d"
},
}
]
},
{
"title": "Query",
"height": "50px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
{
"loading": false,
"loading": false,
"error": false,
"error": false,
"span": 2,
"span":
1
2,
"editable": true,
"editable": true,
"group": [
"group": [
"default"
"default"
],
],
"type": "hits",
"type": "stringquery",
"label": "Search",
"query": "*",
"query": "*",
"style": {
"size": 100,
"font-size": "24pt",
"sort": [
"font-weight": "bold"
"_score",
},
"desc"
"run_query": false,
],
"title": "Hits"
"multi": false,
"multi_arrange": "horizontal"
}
}
]
]
},
},
{
{
"title": "Graph",
"title": "Graph",
"height": "
1
50px",
"height": "
3
50px",
"editable": true,
"editable": true,
"collapse": false,
"collapse": false,
"collapsable": true,
"collapsable": true,
"panels": [
"panels": [
{
{
"loading": false,
"loading": false,
"error": false,
"span": 12,
"span": 12,
"editable": true,
"editable": true,
"group": [
"group": [
...
@@ -134,11 +112,11 @@
...
@@ -134,11 +112,11 @@
"type": "histogram",
"type": "histogram",
"query": [
"query": [
{
{
"query": "",
"query": "
*
",
"label": ""
"label": "
*
"
}
}
],
],
"interval": "
30s
",
"interval": "
5m
",
"show": [
"show": [
"points",
"points",
"lines",
"lines",
...
@@ -150,9 +128,43 @@
...
@@ -150,9 +128,43 @@
"spyable": true,
"spyable": true,
"zoomlinks": true,
"zoomlinks": true,
"index": [
"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"
]
}
}
]
]
},
},
...
@@ -179,7 +191,7 @@
...
@@ -179,7 +191,7 @@
"@timestamp",
"@timestamp",
"desc"
"desc"
],
],
"query": ""
"query": "
*
"
},
},
{
{
"loading": false,
"loading": false,
...
@@ -190,7 +202,7 @@
...
@@ -190,7 +202,7 @@
"default"
"default"
],
],
"type": "table",
"type": "table",
"query": "",
"query": "
*
",
"interval": "1y",
"interval": "1y",
"show": [
"show": [
"bars",
"bars",
...
@@ -218,11 +230,11 @@
...
@@ -218,11 +230,11 @@
],
],
"sortable": true,
"sortable": true,
"index": [
"index": [
"logstash-2013.04.
03
"
"logstash-2013.04.
11
"
]
]
}
}
]
]
}
}
],
],
"editable": true
"editable": true
}
}
\ No newline at end of file
panels/histogram/module.js
View file @
6b214f6c
...
@@ -249,7 +249,7 @@ angular.module('kibana.histogram', [])
...
@@ -249,7 +249,7 @@ angular.module('kibana.histogram', [])
},
},
selection
:
{
selection
:
{
mode
:
"x"
,
mode
:
"x"
,
color
:
'#
666
'
color
:
'#
999
'
},
},
grid
:
{
grid
:
{
backgroundColor
:
'#fff'
,
backgroundColor
:
'#fff'
,
...
@@ -258,13 +258,7 @@ angular.module('kibana.histogram', [])
...
@@ -258,13 +258,7 @@ angular.module('kibana.histogram', [])
color
:
"#eee"
,
color
:
"#eee"
,
hoverable
:
true
,
hoverable
:
true
,
},
},
colors
:
[
'#86B22D'
,
colors
:
[
'#86B22D'
,
'#BF6730'
,
'#1D7373'
,
'#BFB930'
,
'#BF3030'
,
'#77207D'
]
'#BF6730'
,
'#1D7373'
,
'#BFB930'
,
'#BF3030'
,
'#77207D'
]
})
})
// Work around for missing legend at initialization
// Work around for missing legend at initialization
...
...
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