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
a6e8d61e
Commit
a6e8d61e
authored
Nov 20, 2015
by
Mauro Stettler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
specify date format in elastic search query
parent
be5e6d55
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
public/app/plugins/datasource/elasticsearch/query_builder.js
+2
-1
No files found.
public/app/plugins/datasource/elasticsearch/query_builder.js
View file @
a6e8d61e
...
...
@@ -10,7 +10,7 @@ function (angular) {
ElasticQueryBuilder
.
prototype
.
getRangeFilter
=
function
()
{
var
filter
=
{};
filter
[
this
.
timeField
]
=
{
"gte"
:
"$timeFrom"
,
"lte"
:
"$timeTo"
};
filter
[
this
.
timeField
]
=
{
"gte"
:
"$timeFrom"
,
"lte"
:
"$timeTo"
,
"format"
:
"epoch_millis"
};
return
filter
;
};
...
...
@@ -127,6 +127,7 @@ function (angular) {
"interval"
:
this
.
getInterval
(
aggDef
),
"field"
:
this
.
timeField
,
"min_doc_count"
:
0
,
"format"
:
"epoch_millis"
,
"extended_bounds"
:
{
"min"
:
"$timeFrom"
,
"max"
:
"$timeTo"
}
};
break
;
...
...
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