Hello everyone!!
i am new to Kibana and i lik to know how to calculate the minimum and maximum of a session. Thanks for your help.
Hello everyone!!
i am new to Kibana and i lik to know how to calculate the minimum and maximum of a session. Thanks for your help.
Hi @ITchandj,
Kibana provides "Max" and "Min" aggregations for that:
thank you very much but i would like rather calculate the minimum and maximum duration of a session in kibana.
for exemple the min and max of sessionlogonTime.
Oh! So the 1
in the screenshot of the first comment is actually the number of seconds/minutes/hours of the session?
yes.. it is
I'm struggling to understand how you get a duration out of 1 static date. Do you have any other field like SessionLogoutTime, so you can calculate the duration as SessionLogoutTime - SessionLogonTime
?
No.. but i have field like SessionEndTime.
but i how can calculate the minimum and the max
The Min and Max aggregations work for numbers and dates. So you can get the minimum SessionLogonTime in the same way I mentioned in my previous comment.
If you are after the duration, you might need to use a Runtime field or Kibana Scripted field that will execute SessionEndTime - SessionLogonTime
and present it in another field in the document.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.