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!

[Puzzles] Solve, Learn, Repeat: Classic British Rock Bands

This puzzle series (first published here) is based on extracting information from statements about well-known ...

New to the Community? Join Us for an Exclusive Post .conf26 Welcome Session (Plus a ...

Keep the .conf26 Energy Going: Welcome to the Splunk Community! Whether we scanned your badge at the Community ...

Accelerate Splunk App Development with AI

  Learn how to automate the repetitive parts of your build cycle.   Register to Attend   Join our Tech Talk ...