I am new to ELK stack and need help with creating linechart using time values.
I have 3 time fields in a my document and want to plot a line chart using these values.
Example I have below fields and values
Time when system was locked for batch processing (10-jan-2018 8pm)(field name - lockouttime)
Time when system was released post completion of batch processes for business use (11-jan-2018 3 am) (field name - unlocktime)
SLA time by when the system should be available (11-Jan-2018 6AM) (filed name - SLAtime)
Batch process date (10-Jan-2018) (field name - batchprocessdate)
Similarly I have data for last 7 days and want to create line chart against "batchprocessdate" on daily bases using above fields. Is there a way that I can plot a line chart?
Your help is very much appreciated. Please let me know if you need any further details.
Hi Surya, from your description it sounds like you want a Date Histogram using batchprocessdate as the field. This will bucket documents along the X axis into periods of time based upon the batchprocessdate field. But I'm confused about what you want on the Y axis. How do you want the other time fields to come into play?
Thanks for your reply.
What I am looking is - on y-axis I am expecting to see 24hr time range... and on x-axis batchprocessdate value on a daily basis. And as I keep adding data to my elasticsearch documents it should plot a line graph for SLAtime, lockouttime and unlocktime fileds.
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.