Dashboards & Visualizations

Graphing results from a single search as separate data sets?

mphuie
New Member

I'm parsing web logs for the HTTP codes (200, 404, 500, etc). I have the search done which shows the number of each code in a specific time period.

I'd like to generate a graph over time (say per hour), with the number of each code found as a separate data set.

The search I'm using now is

sourcetype="iis*" | rex field=_raw "(?\d+) \d+ \d+$" | stats count by httpcode

Is this possible?

Tags (1)
0 Karma

fk319
Builder
sourcetype="iis*" | rex field=_raw "(?\d+) \d+ \d+$" | timechart span=1h count by httpcode
0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...