Dashboards & Visualizations

Dashboard studio -Error while updating auto refresh value. [Error: Visualization is not present in lay

sekarjegan93
Engager

Dashboard studio -Error while updating auto refresh value. 

[Error: Visualization is not present in layout structure]: Visualization "viz_XQInZkvE" is not present in Layout Structure,

My last panel is:

If i'm trying to change refresh rate from 2m to any other time i get above error. It looks like some default value or cloned from some other dashboard. Could somone help on this?

 "title": "E2E Customer Migration Flow - MigrationEngine + NCRM Clone",
    "description": "BPM Dashboard.SparkSupportGroup:Sky DE - Digital Sales - Product Selection & Registration",
    "defaults": {
        "dataSources": {
            "ds.search": {
                "options": {
                    "queryParameters": {
                        "latest": "$global_time.latest$",
                        "earliest": "$global_time.earliest$"
                    },
                    "refresh": "2m"
                }
            }
        }
    }
}
Labels (1)
0 Karma

sekarjegan93
Engager

Could someone help on this issue?

0 Karma

dataisbeautiful
Communicator

Hi @sekarjegan93 

When you add a visualisation, it's given an auto generated name such as "viz_XQInZkvE". The code snippet you shared does not include an element ID.

Did you change the name of this element in the code? Maybe you deleted that element?

Are you trying to refresh a single visualusation or the whole dashboard?

0 Karma

sekarjegan93
Engager

Hi @dataisbeautiful  I'm not deleting any element in the code. I'm trying to update the refresh option for whole dashboard. Currently it is 2m by default (from clone or somewhere else). But i want to either remove or give some higher value for refreshing.

And the sample error is pops up for all panel ids. i've attached screenshot.

0 Karma

dataisbeautiful
Communicator

Looks like you have some elements which are only partically removed from the code. Elements are defined in one array and the layout is in another array.

You'll need to remove the erroneous references to continue. This error isn't about the refresh, but the dashboard code not being valid.

  • Clone the dashboard, or make a back up
  • Note down the element IDs
  • Open code view
  • Use Find (CTRL-F, or your browser/OS shortcut) and enter each ID
  • Remove all instances of the ID, careful not to delete other bits of code

Post again when you've cleared out the errrored elements.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Laser Bananas and Edge Hubs: Exploring Operational Technology (OT) Data Through a ...

  OT is a different environment to traditional IT and can have interesting challenges when interfacing the ...

Event Series: Mastering AI Tokenomics and Splunk Agent Observability

Beyond the Black Box: Correlating AI Performance and Tokenomics with Splunk Agent Observability   As ...

span_metrics: The OpenTelemetry-Idiomatic Way to See Inside Your Services

You open a trace in Splunk Observability Cloud and everything looks fine. One root span, order-pipeline, with ...