Splunk Search

Plotting error frequency to verify a break fix?

yednap
New Member

Hello, I am new to splunk and wanted to try visualizing whether a break fix that was implemented is actually working. I made a search that shows the count of errors by host:

sourcetype=st ThIsMyError | stats count by host

I was hoping to plot the error count or frequency by time to see if a configuration change made in an attempt to solve the problem is working. This chart would show error frequency (was previously once every 3-7 days) decreasing after the fix. I do not understand how to calculate and plot the changing frequency over time.

0 Karma
1 Solution

woodcock
Esteemed Legend

You need the timechart command like this:

sourcetype=st ThIsMyError | timechart span=5m count by host

View solution in original post

0 Karma

woodcock
Esteemed Legend

You need the timechart command like this:

sourcetype=st ThIsMyError | timechart span=5m count by host
0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...