Dashboards & Visualizations

Drill down in Dashboard with R integration based on selection.

SanthoshSreshta
Contributor

Hi Newbie Here,

I am able to get the data

| r " source ('cal_segm_pie.r'); 
output = clus()"


| r " source ('cal_segm_pie.r'); 
output = clus() where Segment='A'"

I want the data only for Segment=A. How to get this simple scenario.
CODE A output

0 Karma
1 Solution

alacercogitatus
SplunkTrust
SplunkTrust

You can try this:

| r " source ('cal_segm_pie.r'); output = clus() | search Segment = "A"

View solution in original post

alacercogitatus
SplunkTrust
SplunkTrust

You can try this:

| r " source ('cal_segm_pie.r'); output = clus() | search Segment = "A"

SanthoshSreshta
Contributor

thanQ..!!
thanks a lot @alacercogitatus

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...