I am using elasticsearch as database and kibana 4.0 for view analytics.
What query to use to search for latest client status in kibana 4 discover page. Below is my input data
Documents in kibana:
{ClientIP:10.10.10.10,Status:NotWorking,TimeStamp:12-Aug-2015}
{ClientIP:20.20.20.20,Status:Working,TimeStamp:12-Aug-2015}
{ClientIP:10.10.10.10,Status:NotWorking,TimeStamp:13-Aug-2015}
{ClientIP:10.10.10.10,Status:Working,TimeStamp:14-Aug-2015}
{ClientIP:30.30.30.30,Status:NotWorking,TimeStamp:12-Aug-2015}
{ClientIP:30.30.30.30,Status:Working,TimeStamp:16-Aug-2015}
{ClientIP:20.20.20.20,Status:Working,TimeStamp:10-Aug-2015}
{ClientIP:20.20.20.20,Status:NotWorking,TimeStamp:18-Aug-2015}
Expected Result :
{ClientIP:10.10.10.10,Status:Working,TimeStamp:14-Aug-2015}
{ClientIP:20.20.20.20,Status:NotWorking,TimeStamp:18-Aug-2015}
{ClientIP:30.30.30.30,Status:Working,TimeStamp:16-Aug-2015}