Splunk Search

Timechart by field in tabular format

pankajad
Explorer

There are 100s  of APIs in my application. I'm logging exception for an API. I can get stats to get total no of exception in a time window by using 

 

Exception |stats count by uri

 

This will give me result in tabular format exception count for each uri.

However, I would like to get this data in timechart for each uri. This can easily be done if I hardcode the uri and get exception count on time series but I don't want to do this for 100s of APIs.

pankajad_0-1624773718582.png

 | timechart count by api puts many under OTHER and NULL category. However,  I would want api as row and time as column..preferably in visual format - timechart against each api

 

Labels (4)
Tags (1)
0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@pankajad 

Can you please try something like this?

uri=* Exception | timechart usenull=f useother=f count by uri

 

KV 

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
Exception | timechart count by uri
0 Karma

pankajad
Explorer

I had tried timechart but it doesn't solver my issue. I have updated my question with more details

0 Karma
Get Updates on the Splunk Community!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...