Splunk Search

A Chart with data on y-axis

ChhayaV
Communicator

Hi,
I've requirement where in the process like proces1, process2 need to be on y-axis and corresponding time on x-axis and duration of process should be plotted.

Sampledata.csv file

Eventtype ProcessName duration(Sec) time

Process SaveAllData 1.2 2013-09-24T04:57:20.325+0530

Process SaveAllData 0.02 2013-09-24T02:57:17.680+0530

Process working_Days_test 0.05 2013-09-23T22:16:57.994+0530

Process CreateProductsCSV 0.05 2013-09-23T12:08:27.489+0530

How to plot these kind of data which come as CSV files?

If process ran for 1.2 then chart should show line indicating 1.2 sec duration!!.

0 Karma

yannK
Splunk Employee
Splunk Employee

use a chart or stats or table functions to format your data as 2 columns : process duration
switch to graphical mode and pick the "bar" visualization

Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...