Dashboards & Visualizations

Dashboard Panel Not Populating Unless Converted to Report

aohls
Contributor

I am in the process of creating a dashboard with some inputs that get passed down to some panel tables. I am running into an issue where my dashboard panel is not populating a specific table column but, when I convert the panel to a report there is no issue. Is this a known issue or does anyone have an idea of what might be going on? I can include search syntax but since it works once it gets converted it clearly seems to work. Not a huge deal overall but more of an inconvenience.

Edit: My whole dashboard seems buggy. I can get results in my filters but, if I resave, even if nothing has changed, the multiselect I have breaks and no results are returned; even though I just had results. I am using a custom built function. Are there any known issues with using these in dashboards?

I did see a post that said _time might be an issue but that is not the case, I removed it and tested it with the same result.

Tags (2)
0 Karma
1 Solution

renjith_nair
Legend

Hi @aohis,

Try explicitly mentioning the field in your dashboard for eg. fields field1,2,3, and try again. By default splunk runs in "smart mode" and field extraction might not be done implicitly. https://docs.splunk.com/Documentation/Splunk/7.1.1/Search/Changethesearchmode

Happy Splunking!

View solution in original post

0 Karma

renjith_nair
Legend

Hi @aohis,

Try explicitly mentioning the field in your dashboard for eg. fields field1,2,3, and try again. By default splunk runs in "smart mode" and field extraction might not be done implicitly. https://docs.splunk.com/Documentation/Splunk/7.1.1/Search/Changethesearchmode

Happy Splunking!
0 Karma

aohls
Contributor

When attempting this I am still getting the same results. Nothing populates for my field in the dashboard but, if I run it in search I am getting results.

0 Karma

renjith_nair
Legend

would you mind sharing the search used in dashboard? and also check the time range n both cases i.e. dashboard and search?

Happy Splunking!
0 Karma

aohls
Contributor
"with POST CONDITIONS"
| search $host.name$
| rex field=_raw "Invoked:(?<Task>\w*).xml"
| rex field=_raw "Value:(?<HostTask>\w+-?\w+-?\w+\s?\w+?-?\w+\w+?-?\w+?\w+?\w+?\w+?)"
| table HostTask,Task,_time

Above is my search. $host.name$ name is coming from a multi select button. I have reviewed that multiple times and the syntax there works correctly; I even removed it and hard coded what gets fed into the search from the multi select, still HostTask does not populate.

0 Karma

renjith_nair
Legend

fields will bring the extracted field as well. So just try fields instead of table . And also make sure that you don't have any fields/table command in your base search which might have omitted the _raw

Happy Splunking!
0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...