I have 1000 lines of data which is in below format and I want to plot a line graph in Kibana with response time on y axis and time on x axis and then plot the data based on Interface name. In below data there is only 1 interface name but in 1000 lins of data there can be unique 3-4 interface name. When i am plotting this data i am only getting option of count on y axis and time on x axis (which is ok) but i am not able to map response time filed on y axis.
I think you will first need to add Split Series bucket to split the data on the interface name. When making the Line Chart in Visualize, under the "Buckets" section, you should be able to click Add > Split Series. Since you are just splitting on a the interface name, select a "Terms Aggregation" and then your InterfaceName field. That should split the single line into multiple lines for you.
Hello Corey
Thanks for the prompt response but the solution provided isn't what we are currently facing.
The actual issue which I am facing is:
How to plot response time field on y axis, given the condition that we don't need the count of response time on y axis (as its taking on default), we need to plot the actual values of it. Once the actual values are plotted on y axis we will plot "timestamp" on x axis and then based on "InterfaceName" (as you suggested) will will plot a line graph which should give us the information about "ResponseTime"
for a particular "InterfaceName" at any given point of "timestamp".
Basically if you see a share market line graph for a particular share it provides information about its price on y axis and time on x axis and by that graph we come to know its price at any point of time. Similarly with our data I want to know the ResponseTime at any point of timestamp for a particular "InterfaceName".
I am using 6.4.2 as Kibana version.
I hope i made my problem clear now.
Looking forward for your response.
I see. So you currently your y-axis is the count of documents for that timerange, and not the actual value of ResponseTime?
If that is the case, you will need to change your Y-Axis Metric from Count to, for instance, Average and select the ResponseTime field as the field to calculate the average on.
If you could share a screen shot of what your configuration currently looks like, I'd be happy to assist with showing what you may need to change.
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.