Refine your search:

I want to bypass the launcher screen..

asked 06 Nov '09, 01:27

Erik%20Swan's gravatar image

Erik Swan ♦
864214
accept rate: 33%

edited 15 Jun '11, 16:16

Hernani's gravatar image

Hernani ♦♦
212


5 Answers:

In 4.1, the default app setting will be configurable through Manager.

To set the default app for a particular user:

  • Go to Manager > Users
  • Click a user (e.g. yourself)
  • Choose an app in the 'Default app' dropdown
  • Save

To set a default app by role:

  • Go to Manager > Roles
  • Click a role (e.g. admin)
  • Choose an app in the 'Default app' dropdown
  • Save
link

answered 06 Nov '09, 01:46

ewoo's gravatar image

ewoo ♦
39214
accept rate: 43%

edited 23 Dec '09, 23:01

You can set a default App, either per user or globally. This App displays by default every time you log into Splunk.

Configuration

  1. Create a file called user-prefs.conf in the user's local directory (to apply to a user):

    $SPLUNK_HOME/etc/users//user-prefs/local/user-prefs.conf

    Or in the user-prefs App directory (to apply globally):

    $SPLUNK_HOME/etc/apps/user-prefs/local/user-prefs.conf

  2. Add the following to the user-prefs.conf file:

    default_namespace = app_name

    Note: The App name is case-sensitive.

  3. Restart Splunk to load your new configuration.

Example For example, set the default App for the admin user to the Search App:

  1. Edit $SPLUNK_HOME/etc/users/admin/user-prefs/local/user-prefs.conf. For the test user, it would be in $SPLUNK_HOME/etc/users/test/user-prefs/local/user-prefs.conf

  2. Add the following:

        default_namespace = search
    
link

answered 06 Nov '09, 01:33

Erik%20Swan's gravatar image

Erik Swan ♦
864214
accept rate: 33%

For 4.1, to set a GLOBAL default app, which in my example below is the 'search' app, you'll need to specify the following in $SPLUNK_HOME/etc/apps/user-prefs/local/user-prefs.conf :

[general_default]
default_namespace = search
link

answered 07 Apr '10, 22:14

the_wolverine's gravatar image

the_wolverine ♦
4.3k5843
accept rate: 50%

1

Wolverine has the key element here. The Splunk documentation says that you simply need to add "default_namespace = search" to the user-prefs.conf stanza, but this did not work for me. Once I included the above configuration as part of the [general_default] stanza, and then restarted splunk, I was able to see the Search app by default.

(27 Apr '10, 13:36) muebel ♦

Muebel, Thanks for catching that! I've corrected the doc so we don't have anymore confusion: http://www.splunk.com/base/Documentation/4.1.1/Admin/Whatsanapp#Bypass_the_Launcher_for_all_users

(30 Apr '10, 11:28) the_wolverine ♦

In 4.2.4 Free License this does not seem to work.

(05 Dec '11, 04:56) swdonline

This is not working for me under 4.1, ewoo. I've tried setting this via the manager and also via the user-prefs.conf but for some reason it doesn't take effect. Was there by any chance a change made in 4.1 to store user prefs in a db table instead of in flat files?

link

answered 27 Apr '10, 08:40

treyka's gravatar image

treyka
1035
accept rate: 22%

See my comment on wolverine's answer.

(27 Apr '10, 13:37) muebel ♦

We store user preferences similarly in 4.0.x and 4.1. The biggest difference is that we now support per-role default apps, which required some additions to user-prefs.conf.

Definitely no storage to a database, however.

What specifically is not working for you? Are you trying to edit the conf files directly, or are you using Manager? Are you trying to set a default app for a specific user, a specific role, or everyone?

(30 Apr '10, 20:17) ewoo ♦

This is not working for me under 4.1, ewoo. I've tried setting this via the manager and also via the user-prefs.conf but for some reason it doesn't take effect.herve leger Was there by any chance a change made in 4.1 to store user prefs in a db table instead of in flat files?

link

answered 19 Mar, 02:09

maicalljason's gravatar image

maicalljason
1
accept rate: 0%

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:

×207
×20
×5

Asked: 06 Nov '09, 01:27

Seen: 1,889 times

Last updated: 19 Mar, 02:09

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