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!

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

Laser Bananas and Edge Hubs: Exploring Operational Technology (OT) Data Through a ...

  OT is a different environment to traditional IT and can have interesting challenges when interfacing the ...

Event Series: Mastering AI Tokenomics and Splunk Agent Observability

Beyond the Black Box: Correlating AI Performance and Tokenomics with Splunk Agent Observability   As ...