Splunk Search

Creating multiple chart with labels

dimitryz
Path Finder

Hello,

I've build following simple search from our client test data :
sourcetype=json_new | search browser_version browser_data | chart count by browser_version,browser_data

In this case browser_data is browser name like "IE" or "Firefox"

I can also get specific information per browser :
sourcetype=json_new | search browser_version browser_data="IE" | chart count by browser_version

Or get list of all browsers ;

sourcetype=json_new | spath browser_data | dedup browser_data | table browser_data

I would like to know how to build a single chart that contains all :
Per each browser all statistics regarding versions (browser_version) .

Thanks in advance ,
Dmitry

Tags (2)
0 Karma
1 Solution

aweitzman
Motivator

I think you just want something similar to your first search, then, but with the output groups reversed:

sourcetype=json_new browser_version browser_data | chart count by browser_data, browser_version

View solution in original post

0 Karma

aweitzman
Motivator

I think you just want something similar to your first search, then, but with the output groups reversed:

sourcetype=json_new browser_version browser_data | chart count by browser_data, browser_version

0 Karma

dimitryz
Path Finder

Stats is works too,but I'm interested to see count (statistics) for each browser in one search grouped by browser.
See "picture"

||| || ||| |||||
IE Firefox Opera

Each group of || is count of versions for each browser.
I hope that I was able to explain myself.

0 Karma

aweitzman
Motivator

Are you looking for something more like stats rather than chart?

sourcetype=json_new browser_version browser_data | stats count by browser_data,browser_version

What are "all statistics" that you are looking for, besides count?

0 Karma
Get Updates on the Splunk Community!

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...

Operationalizing Entity Risk Score with Enterprise Security 8.3+

Overview Enterprise Security 8.3 introduces a powerful new feature called “Entity Risk Scoring” (ERS) for ...

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...