Splunk Search

How to graph a line chart of two field values over time from a csv log file?

lbogle
Contributor

Hello Splunkers,
I feel like I have the most basic of questions here but I can't get it to work. I have a .csv log file with some info. The key components of which is a field "Status". Status=Rejected or Status=Accepted. I am trying to get a line chart of the amount of Rejected over time along with the amount of Accepted over time but I can't figure it out. It's got to be a basic one. What am I missing?
Thanks everyone.

Tags (3)
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

Have you tried something like this?

search for your CSV events | timechart count by Status

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

Have you tried something like this?

search for your CSV events | timechart count by Status

lbogle
Contributor

That was it! Thanks.

0 Karma
Get Updates on the Splunk Community!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...