Dashboards & Visualizations

Unable to viewstate information; formatting may not be correct

christinmb
Path Finder

I have my dashboards and while using my administrator account (the one I used to create this account) and everything is ok, but if I make a new user account I'm getting this error message and its really annoying because I have no idea what's wrong.. Any ideas?

alt text

0 Karma

vidda42
Explorer

Hi dude !

Just had the same problem with my dashboards view...
As I have to do my stuff VERY QUICKLY, I searched and found the following.

Just one thing before I tell you how to solve this, keep in mind that it is, for me, the "quick & dirty" method ! 🙂 (maybe it is the right & only one !)

-= Let's say that the new created user is TOTO, and the concerned app is SEARCH =-

1) Go to your new user directory :

[root@Splunk local]# pwd

/opt/splunk/etc/users/TOTO/search/local

2) Backup your actual viewstates.conf, just in case :

[root@Splunk local]# cp viewstates.conf viewstates.conf_ORI

3) Overwrite your user viewstates.conf with the admin's one :

[root@Splunk local]# cp ../../../admin/search/local/viewstates.conf .

cp: overwrite `./viewstates.conf'? y

4) Restart your splunk instance :

[root@Splunk local]# chown -R splunk:splunk /opt/splunk/ && /opt/splunk/bin/splunk restart

5) ENJOY your dashboard with no more viewstates errors !!! 😉

David

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...