Skip to content

Commit 432c4f3

Browse files
committed
Updated the splunkrc template
Made the splunkrc template consistent across SDKs
1 parent 853a8fb commit 432c4f3

File tree

2 files changed

+26
-34
lines changed

2 files changed

+26
-34
lines changed

README.md

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -89,26 +89,22 @@ use the values from the **.splunkrc** file when you don't specify them.
8989

9090
To use this convenience file, create a text file with the following format:
9191

92-
# Host at which Splunk is reachable (OPTIONAL)
93-
host=127.0.0.1
94-
95-
# Port at which Splunk is reachable (OPTIONAL)
92+
# Splunk host (default: localhost)
93+
host=localhost
94+
# Splunk port (default: the admin port, 8089)
9695
port=8089
97-
98-
# Username to use when logging in
96+
# Splunk username
9997
username=admin
100-
101-
# Password to use when logging in
102-
password=changed
103-
104-
# Access scheme (OPTIONAL)
98+
# Splunk password
99+
password=changeme
100+
# Access scheme
105101
scheme=https
106-
107-
# Application context (OPTIONAL)
108-
#app=<appname>
109-
110-
# User context (OPTIONAL)
111-
#owner=<username>
102+
# Application context
103+
app=search
104+
# Owner context
105+
owner=admin
106+
# Your version of Splunk (default: 5.0)
107+
version=5.0
112108

113109
Save the file as **.splunkrc** in the current user's home directory.
114110

splunkrc.spec

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
1-
# Host at which Splunk is reachable (OPTIONAL)
2-
host=127.0.0.1
3-
4-
# Port at which Splunk is reachable (OPTIONAL)
1+
# Splunk host (default: localhost)
2+
host=localhost
3+
# Splunk port (default: the admin port, 8089)
54
port=8089
6-
7-
# Username to use when logging in
5+
# Splunk username
86
username=admin
9-
10-
# Password to use when logging in
11-
password=changed
12-
13-
# Access scheme (OPTIONAL)
7+
# Splunk password
8+
password=changeme
9+
# Access scheme
1410
scheme=https
15-
16-
# Application context (OPTIONAL)
17-
#app=<appname>
18-
19-
# User context (OPTIONAL)
20-
#owner=<username>
11+
# Application context
12+
app=search
13+
# Owner context
14+
owner=admin
15+
# Your version of Splunk (default: 5.0)
16+
version=5.0

0 commit comments

Comments
 (0)