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

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Think Like an Architect: Introducing the Splunk Certified Cybersecurity Defense ...

In cybersecurity, defenders respond to threats. Architects design the systems that stop them.    As ...

Index This | What has goals but no motivation?

June 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Deep Dive: Accelerate threat investigation with Splunk’s AI Assistant in Security

AI is one of the biggest topics in the market today, and for security teams, its value goes far beyond the ...