Hello Everyone,
I am new to Elastic Search and Kibana Query Language.
I would like to find the time difference between the two documents which have the id as common between them as like below.
TimeStamp TRACE ID
2021-03-29 20:45:15.748 START 1234
2021-03-29 20:46:15.148 END 1234
I have given my tries with SQL Join and LAG and LEAD functions. But unfortunately, ES Driver doesn't support these as of now.
It would be really helpful if someone can help with either SQL or other search mechanisms in ELK.
Thanks for the Solution. Let me explain my complete scenario here.
I am using a Log4j appender to send my logs from my application (REST API, Which has the JSON Logging capability) to Kibana.
So basically it's real-time sync between the application and the Elastic Search / Kibana index.
As mentioned in my post earlier, I have START and END tracepoints and would like to calculate the difference between them to identify the response time.
Please let me know if there are any possibilities to achieve the same.
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.