Splunk Search

How do I Display a graph with search?

firstname
Explorer

My search looks similar to the one below:

index=mock_index source=mock_source.log param1 param2 param3
| rex field=_raw "Latency: (?<latency>[0-9]+)"
| timechart span=5m avg(latency)

 

An example event:

2022-08-16 14:04:34,123 INFO [stuff] Latency: 55 [stuff]

What have I got wrong in my search that it doesn't draw a graph?

Labels (2)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Searches do not draw graphs by default.  You can click on the Visualization tab to see and modify a graph of your search results.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

Searches do not draw graphs by default.  You can click on the Visualization tab to see and modify a graph of your search results.

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

The OpenTelemetry Certified Associate (OTCA) Exam

What’s this OTCA exam? The Linux Foundation offers the OpenTelemetry Certified Associate (OTCA) credential to ...

From Manual to Agentic: Level Up Your SOC at Cisco Live

Welcome to the Era of the Agentic SOC   Are you tired of being a manual alert responder? The security ...

Splunk Classroom Chronicles: Training Tales and Testimonials (Episode 4)

Welcome back to Splunk Classroom Chronicles, our ongoing series where we shine a light on what really happens ...