Hi,
I've been going through answers.splunk.com and documentation and I still can't seem to find the answer to this question.
I created an app called EmailSummaryReports. After I made the app it appears on the Launcher page under the tab Your Apps.
When I click on the app it goes right to the search page for that app.
I was wondering. Can I modify the app so that when I click on it, it goes to a View i have made for the app instead? Is that information in a file somewhere that I can modify?
I'd like this View to the the default page the app goes to when someone click on it.
You need to alter your app's default.xml:
http://www.splunk.com/base/Documentation/4.2.1/Developer/Step6BuildNavigation#Set_a_default_view
The easiest way to do this is to navigate to:
Manager >> User Interface >> Navigation Menus.
Click on the 'default' Nav name, then remove default='true'
from any entry that it is on. Add it to the view you wish to be the default.
For example:
<nav>
<view name="dashboard_live" />
<view name="flashtimeline" />
<view name="my_cool_view" default='true' />
</nav>
Just to add a different scenario towards the answer. And a different way of achieving the same thing.
1) Select the Apps drop down(next to the Splunk logo on top left)
2) Select Manage Apps
3) Locate the app's default view you want to edit and select "view objects"
4) Select "default"
5) This is what my screen looked like. And notice search is my default view.
6) Change to the default dashboard/view you want. I wanted it to change to an app called system_events.
Trick: If you are unsure of the exact name. Keep a second tab open with the dashboard or view you want to use. Then copy the end of the URI to what you want. (ex..below)
Use just System_events inside the quotes next to the "default=true". Do not include the other stuff otherwise your page won't render. Hope this helps someone.
You need to alter your app's default.xml:
http://www.splunk.com/base/Documentation/4.2.1/Developer/Step6BuildNavigation#Set_a_default_view
The easiest way to do this is to navigate to:
Manager >> User Interface >> Navigation Menus.
Click on the 'default' Nav name, then remove default='true'
from any entry that it is on. Add it to the view you wish to be the default.
For example:
<nav>
<view name="dashboard_live" />
<view name="flashtimeline" />
<view name="my_cool_view" default='true' />
</nav>
This worked. Great thanks..
Updated answer with the correct series of events you need to go through. Don't edit anything in 'default' under most circumstances. Please accept/vote up the answer if it is acceptable.
Well I used the bare bones template when I made the app. I put my files and such in /opt/splunk/etc/app/
btw running splunk 4.1.6
i was looking here for an answer: http://splunk-base.splunk.com/answers/5/how-do-i-set-the-default-app-in-splunk
btw i don't want this for just a specific user. I'd like it to be for anyone who accesses the app from the launcher page.