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

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...