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
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...