Splunk Search

How to project alphanumeric values on y axis in timechart?

samindam
Observer

I have a requirement for having start and stop times with there status be projected over time as a line graph.
I have the query below which provides the desired results but when I go to viz it isn't showing anything since the values projected over Y axis are alphanumeric. Is there a way that I can project this on timeline?
Below is my query and ss for the viz and results.
<base search>
| eval epochtime=_time
| eval desired_time=strftime(epochtime, "%b %d %Y %H:%M:%S.%3N")
| rex "INFO : (?<status>\w+)"
| eval Time_and_status= desired_time + status
| timechart span=20m values(Time_and_status)
| fillnull value=0 values(Time_and_status)

On graph I see a flat line all over.Values/StatsValues/StatsViz/GraphViz/Graph

Labels (2)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

What (numeric) value is your Y axis going to measure?

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...