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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...