Splunk Search

Chart Android over Iphone apache logs

daniel333
Builder

so I have

index=apache useragent=android | timechart etc etc
index=apache useragent=iphone | timechart etc etc

but what I want to do is group by platform. Basically I want a line for iphone, android, mac, windows. How can I limit my user agents to be grouped by platform?

index=apache | timechart status by useragent

kristian_kolb
Ultra Champion

You might be wanting;

... | timechart count by useragent

Possibly you also want to control the size of the time slices used by the timechart, with the use of span=<span>

Read more in the docs.

http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Timechart

/K

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...