Hi All ,
I have a requirement where we have same ids with different status but we need to show only the last status of the id based on last modified date .
For Example
{id : 123,
status:validated,
modifiedAt:Oct 18, 2021 @ 10:48:08.096},
{id : 123,
status:processing,
modifiedAt: Oct 18, 2021 @ 10:52:08.096}',
{id : 123,
status:finished,
modifiedAt:Oct 18, 2021 @ 10:55:08.096}
Can guide on how we can create Visualize in Kibana to achieve the same .
I tried with same but i want to count the total number of ids failed or completed based on ids last status but when i group them with status , it includes same ids as twice .
I am trying to do this in Kibana Visualize
The issue is same id can have both Validate & Finish status.
But I want to cater only the status as per last modified date. Currently same id is counted in both Total number of validated records & Total number of Finished records.
Hi Mark,
Yeah this is the same use case but I need to count the total number of unique ids with status as failed.
I tried above approach, but I am still getting the duplicate values in table (PFA below).
Also if I further add filter with status as validated , it will still show the id whose last status is Finished already
Also currently i have mappings as below-
{
"my-index":{
"mappings":{
"properties":{
"payload":{
"properties":{
"ID":{
"type":"text",
"fields":{
"keyword":{
"type":"keyword",
"ignore_above":256
}
},
"modifiedAt":{
"type":"date"
}
}
}
}
}
}
}
}
Do we need to update something in mappings as well.
TIA
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.