Skip to content

Commit 0c308ad

Browse files
author
Damien Dallimore
committed
remove hosts from example config
1 parent 306fdcb commit 0c308ad

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

config/jdklogging.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#Example java.util.logging configuration using a Splunk REST Handler or Splunk Raw TCP Appender
22

33
#handlers = java.util.logging.ConsoleHandler
4-
handlers = com.splunk.logging.jdk.handler.SplunkRestHandler
5-
#handlers = com.splunk.logging.jdk.handler.SplunkRawTCPHandler
4+
#handlers = com.splunk.logging.jdk.handler.SplunkRestHandler
5+
handlers = com.splunk.logging.jdk.handler.SplunkRawTCPHandler
66

77
# Set the default logging level for the root logger
88
.level = INFO
@@ -25,8 +25,8 @@ com.splunk.logging.jdk.handler.SplunkRestHandler.dropEventsOnQueueFull=false
2525

2626
# Set the default logging level for new SplunkRawTCPHandler instances
2727
com.splunk.logging.jdk.handler.SplunkRawTCPHandler.level=INFO
28-
com.splunk.logging.jdk.handler.SplunkRawTCPHandler.host=localhost
29-
com.splunk.logging.jdk.handler.SplunkRawTCPHandler.port=5150
28+
com.splunk.logging.jdk.handler.SplunkRawTCPHandler.host=somehost
29+
com.splunk.logging.jdk.handler.SplunkRawTCPHandler.port=5151
3030
com.splunk.logging.jdk.handler.SplunkRawTCPHandler.maxQueueSize=5MB
3131
com.splunk.logging.jdk.handler.SplunkRawTCPHandler.dropEventsOnQueueFull=false
3232

config/logback.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<delivery>stream</delivery>
1212
<user>admin</user>
1313
<metaSourcetype>testing</metaSourcetype>
14-
<pass>splunk</pass>
14+
<pass>sawasdee</pass>
1515
<maxQueueSize>5MB</maxQueueSize>
1616
<dropEventsOnQueueFull>false</dropEventsOnQueueFull>
1717
<metaSource>rest</metaSource>
@@ -28,7 +28,7 @@
2828
<!--Send log events to a Splunk Raw TCP server socket-->
2929
<appender name="splunkrawtcp" class="com.splunk.logging.logback.appender.SplunkRawTCPAppender">
3030
<port>5151</port>
31-
<host>ubuntu-splunk</host>
31+
<host>somehost</host>
3232
<maxQueueSize>5MB</maxQueueSize>
3333
<dropEventsOnQueueFull>false</dropEventsOnQueueFull>
3434
<layout class="ch.qos.logback.classic.PatternLayout">

0 commit comments

Comments
 (0)