Splunk Search

Timechart and Table from same query

subtrakt
Contributor

HI!

What's the easiest way to create a time-chart and stats table with same query so I can create a dashboard, have a chart on the left, and stats table beside it without creating a seperate search?

Once I introduce the stats command, the time-chart comes back with no results.

Thanks!

Tags (3)
0 Karma

somesoni2
Revered Legend

You can utilize Splunk's PostProcess to create two outputs (table and chart) from virtually same query. In PostProcess search your can just format the output.

0 Karma

HiroshiSatoh
Champion

"_time" field is required to use "timechart" command. Are you ok?
It is easy to answer if there is a XML(or search statement).

0 Karma
Get Updates on the Splunk Community!

Unlock Database Monitoring with Splunk Observability Cloud

In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and stall ...

Print, Leak, Repeat: UEBA Insider Threats You Can't Ignore

Are you ready to uncover the threats hiding in plain sight? Join us for "Print, Leak, Repeat: UEBA Insider ...

Splunk MCP & Agentic AI: Machine Data Without Limits

  Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization ...