Splunk Search

Timechart, how to display value of field without function?

Chaser
Explorer
index="redis" sourcetype="csv" total_commands_processed="*" | timechart span=5m total_commands_processed

In the search command above, I want to display value of field "total_commands_processed", anyone can help

Labels (2)
Tags (1)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

Try something like this

index="redis" sourcetype="csv" total_commands_processed="*" | timechart span=5m max(total_commands_processed) as total_commands_processed

View solution in original post

ITWhisperer
SplunkTrust
SplunkTrust

Try something like this

index="redis" sourcetype="csv" total_commands_processed="*" | timechart span=5m max(total_commands_processed) as total_commands_processed

Chaser
Explorer

Thank you so much, it helped me 

Tags (1)
0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...