Dashboards & Visualizations

Dashboard doesn't show any results depending on the nature of the content being shown

brettcave
Builder

I have a dashboard that runs a base search, and has panels that populate from it. One of the panels has a custom drilldown that sets a token, and that token is used by another panel.

 

<search id="basesearch"></search>
<panel><title>panel</title><search base="basesearch"><query>| chart c by Name
  <drilldown><set token="subpanelfilter">$row.Name$</set></drilldown>
</panel>
<panel><title>subpanel</title><search base="basesearch">
  <query>| search Name="$subpanelfilter$"
    | chart c over SomeOtherField by SomethingElse
  </query>
</panel>

 

 

The results rendered in "subpanel" either show "No Results" or a list of valid results, depending on what I use for the "chart over" value. For example, if i "chart over AFieldWithLongText" then I get No Results, but if I chart over a different field, results populate.

1 of the fields I am working with is called "Title". An example of Title might be something with this sort of text pattern (to indicate length and the sort of characters found):

     1.18 Do not allow the "quick brown fox" to jump over the lazy dog.

 

Even if I use `| table Title SomeOtherField`, the "Title" column is just cut out, and only "SomeOtherField" is rendered (so it renders the same as if I'd used "| table SomeOtherField").

What could be causing the results to not render because of field characteristics?

 

Thanks in advance.

Labels (2)
0 Karma

niketn
Legend

@brettcave try to have transforming search in your base search and also restrict to fields that are required. Do not use Post Processing to retain all event and fields as is to be used across the dashboard. Refer to one of my older answer around the same along with best practices for Post Processing: https://community.splunk.com/t5/Splunk-Search/Why-do-my-post-process-timecharts-display-quot-no-resu...

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

brettcave
Builder

Oh - and if I "Open In Search" from the dashboard, the results load as expected. So it looks like it's related purely to loading in the dashboard.

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

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

Community Content Calendar, September edition

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