Hi Elastic forum,
I am evaluating ELK for system monitoring purpose. our system will generate data like:
{"Date": "2017-01-31T09:00:14.596168", "VehicleName": "Honda CRV", "Status": "On", "Group": "groupA", "Company": "companyA"}
{"Date": "2017-01-31T08:00:14.596168", "VehicleName": "Honda CRV", "Status": "Off", "Group": "groupA", "Company": "companyA"}
{"Date": "2017-01-31T09:01:14.596168", "VehicleName": "Honda Civic", "Status": "On", "Group": "groupB", "Company": "companyA"}
{"Date": "2017-01-31T09:02:14.596168", "VehicleName": "Honda FIT", "Status": "On", "Group": "groupC", "Company": "companyB"}
I need to create dashboard to find the number of vehicle whose latest status is "On" for each group/company.
so the dashboard should display:
companyA: 2
CompanyB: 1
In visualize, I could use aggregation to get the latest status for each vehicle. but could not figure out how to only return vehicles with latest statue "On" and get the sum for each company/group.
is it possible to create a dashboard like that in Kibi/kibana?
thanks for any idea/help!
William