Hi, I'm a newbie to ELK so try to stay with me
I have an index with the following mapping
{
"mapping": {
"properties": {
"@timestamp": {
"type": "date"
},
"@version": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"number": {
"type": "long"
},
"modifieddate": {
"type": "date"
},
"status": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}
}
}
}
where number is between 0 to 10^8 and status is a value out of a close set like {StatusVal1,StatusVal2,StatusVal3}
let's suppose the documents (data) are like in the following table
X axis Y axis
date number status
5/11/2019 12 StatusVal1
12/12/2018 15 StatusVal2
3/23/2019 17 StatusVal3
2/1/2019 64 StatusVal1
3/4/2019 65 StatusVal2
12/11/2018 87 StatusVal3
7/13/2018 99 StatusVal3
and I would like to draw a chart that X axis is the number term and Y axis is just a bar (lets says with hight equals to one if exist) \ point but with a color depends on the status value.
How can I do that ?
After this I would like to have an interpolation on both axes - so if there is no value (number, status) it will get it from the closest X value exist.
Thank Shaul