Splunk Search

Whats the difference between chart and timechart command?

sarnagar
Contributor

Hi All,

I understand that timechart uses _time as x-axis?
But why cant we use | chart count over _time instead of | timechart count?

0 Karma

sundareshr
Legend

You should add a bin command before you use chart. Like this

... | bin  _time | chart count over _time

http://docs.splunk.com/Documentation/Splunk/6.1.2/SearchReference/Bin

Get Updates on the Splunk Community!

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...