All Apps and Add-ons

In DBXquery nothing come in visualization tab.

arun_kant_sharm
Path Finder

alt text
Hi Experts,

I want to create a pie chart , but in my dbxquery output come in statistics tab, and nothing come in visualization tab.
For fix it what I need to do ?

my search string is :

| dbxquery query="SELECT username , sum(memory_kb) as memory_kb from ( SELECT NVL(a.username,'(oracle)') AS username, a.module, a.program, Trunc(b.value/1024) AS memory_kb FROM v$session a, v$sesstat b, v$statname c WHERE a.sid = b.sid AND b.statistic# = c.statistic# AND c.name = 'session pga memory' AND a.program IS NOT NULL) group by username " connection="SplunkReadOnly"

0 Karma

niketn
Legend

@arun_kant_sharma, since you are showing a pie chart visualization, you should ensure that dbxquery returns two fields First should be Label field for name of each slice. Second should be the value of each pie slice.

Following is the run anywhere search which you can try out as an example:

index=_internal sourcetype=splunkd
| top log_level
____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...