Hi,
I have a mapping like this:
"queuedtime":{
"type": "date",
"format": "dd-HH:mm:ss||d-HH:mm:ss||HH:mm:ss"
}
It works, and when I make a sort query like this one:
GET /slurm/_search
{
"sort":[
{"queuedtime": "asc"}
]
}
Works too, that is, the value returned by elasticsearch is the expected, is something like:
{
"_index" : "slurm",
"_type" : "doc",
"_id" : "1",
"_score" : null,
"_source" : {
"queuedtime" : "04:29:09",
"@timestamp" : "2019-02-09T19:44:04.569Z"
},
"sort" : [
16149000
]
}
The problem is when I try to visualize this field, or query it in Discover, Kibana adds a very old date to this field, the matter is not the old date, the thing is that I don't want that date, I just want the hour without any date at all. Also, it modifies the hour, so the showed hour is not the original one. What Kibana shows:
January 2nd 1970, 23:29:09.000
Is it possible to just visualize the time without date?.
Note: I tried what was explained in this issues:
But I don't want more fields.
And this one:
But it does not work as expected, Kibana is still adding the date to my field.