Hi Guys ,
I have the following field
which mapped to float in my mapping ,
im trying to create line chart with max value (for Y-axis) and @timestamp for (X-axis)
and it show me nothing , attaching picture:
do you have any idea why it may happens?
Thank you !
elastock
(Guillaume Dufrenne)
April 11, 2019, 8:51am
2
Hello
try
in the timepicker => "last 5 years "
disable max value , set avg .
check data format in index pattern .=> screen
i still cannot see , i check and set to avg and nothing is showing up
elastock
(Guillaume Dufrenne)
April 11, 2019, 9:11am
4
What is the type of the field m5 showed on the index patterns " * metrics *"
Is the index pattern * metrics * regrouping differents index ?
i
the metrics regrouping only indexes of out metrics
elastock
(Guillaume Dufrenne)
April 11, 2019, 10:02am
6
In your kibana viz , check in "metric and axes" if you set bounds
i enable Scale to Data Bounds but i still don't see anything
elastock
(Guillaume Dufrenne)
April 11, 2019, 2:51pm
8
Do you see something if set only "count" on y axis ?
elastock
(Guillaume Dufrenne)
April 15, 2019, 7:40am
10
It means ,it does not find any documents .
In your visualization go to "inspect>view request>response"
elastock
(Guillaume Dufrenne)
April 15, 2019, 8:22am
12
Change the date range in the timepicker
Set last 30d instead of last 15m
ok no problem, i will do it in a hour.
i appreciate your help alot
i followed your suggestion and this is the result:
elastock
(Guillaume Dufrenne)
April 19, 2019, 1:26pm
16
Can you show the query ?
there is a problem with the null value ..
{
"aggs": {
"2": {
"date_histogram": {
"field": "@timestamp ",
"interval": "30s",
"time_zone": "Asia/Jerusalem",
"min_doc_count": 1
},
"aggs": {
"1": {
"max": {
"field": " m15"
}
}
}
}
},
"size": 0,
"_source": {
"excludes":
},
"stored_fields": [
"*"
],
"script_fields": {},
"docvalue_fields": [
{
"field": "@timestamp ",
"format": "date_time"
}
],
"query": {
"bool": {
"must": [
{
"match_all": {}
},
{
"range": {
"@timestamp ": {
"gte": 1555919748389,
"lte": 1555920648389,
"format": "epoch_millis"
}
}
}
],
"filter": ,
"should": ,
"must_not":
}
}
}
elastock
(Guillaume Dufrenne)
April 23, 2019, 7:31am
18
Can you check you dataset ?
It seems you have null values in the field m15 .
i found the issue:
there was a space in my mapping in each field
i remove the space in each field and it fixed!
Thanks alottttt!
1 Like
system
(system)
Closed
May 21, 2019, 8:37am
20
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.