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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...