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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...