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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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