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
5668ec7c
Commit
5668ec7c
authored
Mar 05, 2013
by
Rashid Khan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added timestamp index option
parent
8e154148
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
6 deletions
+27
-6
panels/dashcontrol/module.js
+1
-0
panels/timepicker/editor.html
+26
-6
No files found.
panels/dashcontrol/module.js
View file @
5668ec7c
...
...
@@ -32,6 +32,7 @@ angular.module('kibana.dashcontrol', [])
// Long ugly if statement for figuring out which dashboard to load on init
// If there is no dashboard defined, find one
if
(
_
.
isUndefined
(
$scope
.
dashboards
))
{
console
.
log
(
'ok, defining'
)
// First check the URL for a path to a dashboard
if
(
!
(
_
.
isUndefined
(
$routeParams
.
type
))
&&
!
(
_
.
isUndefined
(
$routeParams
.
id
)))
{
var
_type
=
$routeParams
.
type
;
...
...
panels/timepicker/editor.html
View file @
5668ec7c
...
...
@@ -10,13 +10,33 @@
</div>
<div
class=
"row-fluid"
>
<h5>
Index Settings
</h5>
<div
class=
"span5"
>
<h6>
Index pattern
<small>
Absolutes in double quotes
</small></h6>
<input
type=
"text"
class=
"input-medium"
ng-model=
"panel.index"
>
<div
ng-show=
"panel.timed_indices"
class=
"row-fluid"
>
<div
class=
"span12"
>
<p>
Time stamped indices use a dated index pattern instead of pointing directly
to one specific index. For example, to match the default logstash index pattern
you might use
<code>
"logstash-"yyyy.mm.dd
</code>
. The quotes around "logstash-"
are important as they instruct Kibana not to treat those letters as a pattern.
</p>
<p>
See
<a
href=
"http://blog.stevenlevithan.com/archives/date-time-format"
>
http://blog.stevenlevithan.com/archives/date-time-format
</a>
for documentation on date formatting.
</p>
</div>
</div>
<div
class=
"span5"
>
<h6>
Failover Index
<small>
If none match the pattern
</small></h6>
<input
type=
"text"
class=
"input-medium"
ng-model=
"panel.defaultindex"
>
<div
class=
"row-fluid"
>
<div
class=
"span2"
>
<h6>
Timestamped
</h6><input
type=
"checkbox"
ng-model=
"panel.timed_indices"
ng-checked=
"panel.timed_indices"
>
</div>
<div
class=
"span5"
>
<h6>
Index
<span
ng-show=
"panel.timed_indices"
>
pattern
</span>
<small
ng-show=
"panel.timed_indices"
>
Absolutes in double quotes
</small></h6>
<input
type=
"text"
class=
"input-medium"
ng-model=
"panel.index"
>
</div>
<div
class=
"span4"
>
<h6>
Failover Index
<small>
If index not found
</small></h6>
<input
type=
"text"
class=
"input-medium"
ng-model=
"panel.defaultindex"
>
</div>
</div>
</div>
<div
class=
"row-fluid"
>
...
...
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