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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...