Alerting

Why does cloning of any alerts or saved searches in an app result in error "Viewstate object not found..."?

helenashton
Path Finder

Cloning of any alerts/saved searches in an app are causing the following error (Splunk search head v 6.2):

Encountered the following error while trying to clone: [HTTP 404] Viewstate object not found; view=* viewstate=33333333

I can fix this for an individual case by removing the vsid (as suggested elsewhere), however, it is not practical to do this for everything in an app.

I have checked this app against others (which don't have this error) and the permissions are the same.

Any ideas?

0 Karma

somesoni2
Revered Legend

The clone problem exists because the Viewstate ID (vsid) is not present in the viewstates.conf. You can either add an remove viewstate for the object or copy the source state by doing the following:

viewstates.conf
...
[*:33333333]
...
0 Karma

helenashton
Path Finder

thanks - additional understanding 🙂
so I can either remove the vsid from savedsearches.conf, or add it into viewstates.conf

useful, but still something I need to do for each vsid.

Any idea for an app wide fix? Or why this would have happened in the first place?

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...