Refine your search:

How to resolve these viewstate error messages?

"Unable to get viewstate information for Juniper - Top 5 Outbound Deny Hosts for TCP Port 80; formatting may not be correct"

This dashboard uses simple XML and lives in an App created using the Manager. The App contains a savedsearches.conf file and another dashboard which uses advanced XML. Both dashboards call different searches from savedsearches.conf. The dashboard with advanced XML loads just fine (no viewstate errors).

Strangely enough, converting the simple XML dashboard to advanced XML fixed the problem. This can't be the solution. There must be a bug or something missing.

I checked for possible duplicates of the saved search, deleted all related viewstates.conf files, even installed the App in a brand new Splunk instance. I also checked permissions on the dashboard XML files and savedsearches.conf and verified the existence of the local folders as Emma suggested in a recent support case. None of these actions made a difference.

asked 20 Jan '10, 06:32

hulahoop's gravatar image

hulahoop ♦
2.5k3239
accept rate: 40%

edited 17 Apr '10, 02:52

jrodman's gravatar image

jrodman ♦
5.8k2515

Seeing this in 4.1.4 -- any fixes?

(29 Jul '10, 19:52) Simon Shelston

2 Answers:

To be honest, I don't know why the error shows up. Possibly it's just because the message is at too high an alert level. You can fix this however by editing the savedsearches.conf file and removing the vsid property on the saved search. This will lose the viewstate properties, but viewstate should be considered transient anyway. (You should explicitly say how you want results to be rendered when you define your dashboard and modules and not rely on viewstate.)

link

answered 28 Jan '10, 08:25

gkanapathy's gravatar image

gkanapathy ♦
26.2k1622
accept rate: 42%

Deleting the vsid params and restarting didn't work for me. The dashboards were simple data tables and had no charts. Is there view state associated with data tables?

<row>

<searchname>Juniper - Top 5 Outbound Deny Hosts for TCP Port 443</searchname> <title>Top 5 Outbound Deny Hosts for TCP Port 443</title>
<searchname>Juniper - Top 5 Outbound Deny Hosts for TCP Port 80</searchname> <title>Top 5 Outbound Deny Hosts for TCP Port 80</title>
</row>

(29 Jan '10, 01:28) hulahoop ♦

@hulahoop, did you delete the vsid parameter in your own private savedsearches.conf, or only in the app one?

(11 Feb '10, 14:18) gkanapathy ♦

Both. I deleted it everywhere it existed.

(11 Feb '10, 18:32) hulahoop ♦

We ran into what sounds like the same issue.

We have a set of dashboards called Snapshots that refer to saved/scheduled searches. These were created inside an application we named Snapshot.

It would be great to have these also show up inside other applications, but when we tried just sharing the searches and dashboards globally and adding the dashboards to the navigation of a second app, then we get the error

"Unable to get viewstate information for DASHBOARD_NAME; formatting may not be correct"

The search runs from scratch, instead of pulling up the results from the last saved search.

Hoping there's a way to get it to use the results.

Thanks, Nancy

link

answered 12 May '10, 19:07

NancyCunningham's gravatar image

NancyCunningham
31112
accept rate: 0%

I built a small app for a customer last week and I am seeing the same behavior. It is a little baffling since the app is so simple.

(23 Jul '11, 20:06) Claw
Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×323

Asked: 20 Jan '10, 06:32

Seen: 1,383 times

Last updated: 23 Jul '11, 20:06

Copyright © 2005-2012 Splunk, Inc. All rights reserved.