Dashboards & Visualizations

a pipeline added to the subsearch when creating a dashboard with drilldown and base searches

FAnalyst
Engager

I need help about this subsearch using pivot command 

Base search : | pivot  Traffic  All_Traffic FILTER  zone is "$form.srcZone$"

sub search: count(src_zone) AS src_zone_count SPLITROW zone AS zone TOP 100 count(zone) ROWSUMMARY 0 COLSUMMARY 0 SHOWOTHER 1 

the problem is that there is a pipeline added by splunk before the subsearch I wnat the subsearch to be  exectuted without the pipline 

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

By subsearch, do you mean a chained search e.g. a search in a panel that has a base defined referencing a base search defined elsewhere in the dashboard?

If so, there is no way to remove the pipe from the generated query. However, given that pivot is just a wrapper for stats and xyseries, can you not just refactor your search to deal with the table produced by the pivot command by using stats command and similar?

0 Karma

FAnalyst
Engager

hello thank you for answering 

here is the panel search when it gets excused when  I delete the pipeline added by splunk and run the search again the issue  will be resolved  

| pivot Traffic All_Traffic FILTER zone is "User  Zone" | count(zone) AS zone_count SPLITROW zone AS zone TOP 100 count(zone) ROWSUMMARY 0 COLSUMMARY 0 SHOWOTHER 1

 

I am taking this approach because I want to build a dashboard from a datamodel and I want it to be dynamic so the user can choose from the dirlldown the zone that the dashboard base search will take the user input and pass it to the panels searches that would give results for the zone chosen by the user 

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!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...