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!

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...

Splunkbase | Splunk Dashboard Examples App for SimpleXML End of Life

The Splunk Dashboard Examples App for SimpleXML will reach end of support on Dec 19, 2024, after which no new ...

Understanding Generative AI Techniques and Their Application in Cybersecurity

Watch On-Demand Artificial intelligence is the talk of the town nowadays, with industries of all kinds ...