Skip to content

Commit dc4d85b

Browse files
Change-Id: I078df5fd33e00618729081bcee83f6bb311bcef0
1 parent c3d2e64 commit dc4d85b

2 files changed

Lines changed: 11 additions & 5 deletions

File tree

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@ This framework contains :
2323
If you want to use UDP to send events to Splunk , then Log4j and Logback already have Syslog Appenders.
2424
And of course you can still use any File appenders and have the file monitored by a Splunk Universal Forwarder.
2525

26+
## Splunk Universal Forwarder vs Splunk Java Logging
27+
28+
I always advocate the best practice of using a Splunk Universal Forwarder(UF) monitoring local files wherever possible.
29+
Not only do you get the features inherent in the UF, but you get the added resiliency of the persistence of files.
30+
However, there are going to be situations where, for whatever reason(technical or bureaucratic), that a UF can not
31+
be deployed.In this case, Splunk Java Logging can be used to forward events to Splunk.
32+
Furthermore, in either scenario, you can still utilize the SplunkLogEvent class to construct your log events in best practice
33+
semantic format.
34+
2635
## Resilience
2736

2837
The HTTP REST and Raw TCP handler/appenders have autonomous socket reconnection logic in case of connection failures.
@@ -40,10 +49,7 @@ definitions for your various target Indexers.
4049

4150
## Load Balancing
4251

43-
A wrapper appender for Log4j and Logback is in the works.The design pattern is modelled off the Log4j "AsyncAppender" wrapper.
44-
So you will be able to define a "LoadBalancedAppender" and specify nested child appenders to Load Balance across.
45-
This opens up some interesting possibilitys such as load balancing across appenders that use the same or perhaps a
46-
mixture of different transports , REST / Raw TCP / Syslog.
52+
Still in the think tank.
4753

4854
## Thread Safety
4955

TODO

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Build in final release Splunk Java SDK
2-
Load Balancing appender wrapper for log4j/logback
2+
Load Balancing

0 commit comments

Comments
 (0)