Splunk Search

How to timechart nonnumeric field

disha
Contributor

I may be overthinks this.There must be some way of doing it. I have a data like :

How can I display values of Debug with time in chart as Debug is not any numeric field. How to scale it on y axis by one way or another? Please help.
May Be can I make an SLA line and display Debug strhing on that SLA?
Please Please suggest.
Thanks in advance.
Disha

Tags (1)

gnovak
Builder

If you just wanted to display the Debug String and the time the string came in, would just putting them in a table view work, like this:

sourcetype="myagent"|spath path="EID" output="EventID"|search EventID=14|spath path="DBG" output=Debug|table _time,Debug | table _time Debug

I'm not sure you can actually put the entire debug string in a chart like that....What would the chart be graphing as it's not a numerical field?

0 Karma

disha
Contributor

Can we do like this..when user just scroll over x axis,he can see the Debug string in tooltip? 😞

0 Karma

disha
Contributor

No, I just need to display the Debug string with _time as We group together the info in DBG field that we want to display so just displaying the entire string is fine.

0 Karma

gnovak
Builder

When you say the values of Debug do you mean the values of DEVID, MOD and LOG? If these are things you'd like to display, I'd first extract these values into fields either using the Field Extractor or regular expressions in props.conf.

0 Karma
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!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...