Those logs represent event from other software. alarmType:2 start event alarmType:3 end event
I need to calculate the time of that event. Is that possible ?
THis is not possible with only Kibana I think. A requirement would be to somehow add event.duration at ingest time. For example in Logstash you can add an elasticsearch filter with which you could theoreticaloly query Elasticsearch for a doc with the same ReferenceNumber (if this is a usable number of course). Then you calculate the difference between the currently ingested @timestamp and the @timestamp of the doc you would get from your query.
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.