Dashboards & Visualizations

UI Example advanced_intro2 XML

lain179
Communicator

I accidentally and completely messed up the advanced_intro2 XML code from UI Example. Can someone please let me know how I can restore it or provide me the XML so I can replace the correct one?

Thank you.

Tags (1)
0 Karma
1 Solution

vincesesto
Communicator

Hey lain179,

I think the following will be the best way to resolve it...
- First download the app directly from the site and not through Splunk Manager:
- Copy the file to your tmp directory:
cp ui_examples_app.tar.gz /tmp
- Extract and untar the file
tar zxvf ui_examples_app.tar.gz
- Copy the file using the splunk user to the existing app directory
sudo -u splunk cp /tmp/ui_examples/default/data/ui/views/advanced_intro2.xml ~/$SPLUNKHOME/etc/apps/ui_examples/default/data/ui/views/advanced_intro2.xml

I hope that this was able to assist with your restore.

Regards Vince

View solution in original post

vincesesto
Communicator

Hey lain179,

I think the following will be the best way to resolve it...
- First download the app directly from the site and not through Splunk Manager:
- Copy the file to your tmp directory:
cp ui_examples_app.tar.gz /tmp
- Extract and untar the file
tar zxvf ui_examples_app.tar.gz
- Copy the file using the splunk user to the existing app directory
sudo -u splunk cp /tmp/ui_examples/default/data/ui/views/advanced_intro2.xml ~/$SPLUNKHOME/etc/apps/ui_examples/default/data/ui/views/advanced_intro2.xml

I hope that this was able to assist with your restore.

Regards Vince

lain179
Communicator

never mind, i got it to replace the xml. thanks!

0 Karma

lain179
Communicator

i can replace the whole app, how do i reinstall from the manager?

0 Karma

vincesesto
Communicator

Sorry, I forgot to mention that if you want to overwrite the entire app, you can simply reinstall from the manager

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...