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
Get Updates on the Splunk Community!

Get Schooled with Splunk Education: Explore Our Latest Courses

At Splunk Education, we’re dedicated to providing incredible learning experiences that cater to every skill ...

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...