Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
2,785 additions
and
2,650 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,71 +1,71 @@ | ||
# Splunk Logging for Java | ||
|
||
#### Version 1.7.3 | ||
|
||
Splunk logging for Java enables you to log events to HTTP Event Collector or to a TCP input on a Splunk Enterprise instance within your Java applications. You can use three major Java logging frameworks: [Logback](http://logback.qos.ch), [Log4j 2](http://logging.apache.org/log4j/2.x/), and [java.util.logging](https://docs.oracle.com/javase/7/docs/api/java/util/logging/package-summary.html). Splunk logging for Java is also enabled for [Simple Logging Facade for Java (SLF4J)](http://www.slf4j.org). | ||
|
||
Splunk logging for Java provides: | ||
|
||
* Appender classes that package events into the proper format for the input type you're using (HTTP Event Collector or TCP). | ||
|
||
* Handler classes that export the logging events. | ||
|
||
* An optional error handler to catch failures for HTTP Event Collector events. | ||
|
||
* Example configuration files for all three frameworks that show how to configure the frameworks to write to HTTP Event Collector or TCP ports. | ||
|
||
* Support for batching events (sent to HTTP Event Collector only).</li> | ||
|
||
### Requirements | ||
|
||
Here's what you need to get going with the Splunk SDK for Java. | ||
|
||
#### Splunk | ||
|
||
If you haven't already installed Splunk, download it | ||
[here](http://www.splunk.com/download). For more about installing and running | ||
Splunk and system requirements, see | ||
[Installing & Running Splunk](http://dev.splunk.com/view/SP-CAAADRV). | ||
|
||
#### Java | ||
|
||
You'll need Java version 7 or higher, from [OpenJDK](https://openjdk.java.net) or [Oracle](https://www.oracle.com/technetwork/java). | ||
|
||
## Documentation and resources | ||
|
||
* For more information about installing and using Splunk logging for Java, see | ||
[Overview of Splunk logging for Java](http://dev.splunk.com/goto/sdk-slj). | ||
|
||
* For reference documentation, see the | ||
[Splunk logging for Java API reference](https://docs.splunk.com/DocumentationStatic/JavaLogging/1.6.2/index.html). | ||
|
||
* For all things developer with Splunk, see the | ||
[Splunk Developer Portal](http://dev.splunk.com). | ||
|
||
* For more about about Splunk in general, see | ||
[Splunk>Docs](http://docs.splunk.com/Documentation/Splunk). | ||
|
||
## License | ||
|
||
Splunk logging for Java is licensed under the Apache License 2.0. | ||
|
||
See the [LICENSE file](/license.md) for details. | ||
|
||
## Contributions | ||
|
||
[Get the Splunk Java Logging Framework from GitHub](https://github.com/splunk/splunk-library-javalogging) | ||
and clone the resources to your computer. For example, use the following | ||
command: | ||
|
||
git clone https://github.com/splunk/splunk-library-javalogging.git | ||
|
||
## Support | ||
|
||
The Splunk logging for Java is community-supported. | ||
|
||
1. You can find help through our community on [Splunk Answers](http://answers.splunk.com/) (use the "logging-library-java" tag to identify your questions). | ||
2. File issues on [GitHub](https://github.com/splunk/splunk-library-javalogging/issues). | ||
|
||
## Contact us | ||
|
||
You can reach the Dev Platform team at [devinfo@splunk.com](mailto:devinfo@splunk.com). | ||
# Splunk Logging for Java | ||
|
||
#### Version 1.8.0 | ||
|
||
Splunk logging for Java enables you to log events to HTTP Event Collector or to a TCP input on a Splunk Enterprise instance within your Java applications. You can use three major Java logging frameworks: [Logback](http://logback.qos.ch), [Log4j 2](http://logging.apache.org/log4j/2.x/), and [java.util.logging](https://docs.oracle.com/javase/7/docs/api/java/util/logging/package-summary.html). Splunk logging for Java is also enabled for [Simple Logging Facade for Java (SLF4J)](http://www.slf4j.org). | ||
|
||
Splunk logging for Java provides: | ||
|
||
* Appender classes that package events into the proper format for the input type you're using (HTTP Event Collector or TCP). | ||
|
||
* Handler classes that export the logging events. | ||
|
||
* An optional error handler to catch failures for HTTP Event Collector events. | ||
|
||
* Example configuration files for all three frameworks that show how to configure the frameworks to write to HTTP Event Collector or TCP ports. | ||
|
||
* Support for batching events (sent to HTTP Event Collector only).</li> | ||
|
||
### Requirements | ||
|
||
Here's what you need to get going with Splunk logging for Java. | ||
|
||
#### Splunk | ||
|
||
If you haven't already installed Splunk, download it | ||
[here](http://www.splunk.com/download). For more about installing and running | ||
Splunk and system requirements, see [Installing & Running Splunk](http://dev.splunk.com/view/SP-CAAADRV). Splunk logging for Java is tested with Splunk Enterprise 7.0 and 7.2. | ||
|
||
#### Java | ||
|
||
You'll need Java version 8 or higher, from [OpenJDK](https://openjdk.java.net) or [Oracle](https://www.oracle.com/technetwork/java). | ||
|
||
## Documentation and resources | ||
|
||
* For more information about installing and using Splunk logging for Java, see | ||
[Overview of Splunk logging for Java](http://dev.splunk.com/goto/sdk-slj). | ||
|
||
* For reference documentation, see the | ||
[Splunk logging for Java API reference](https://docs.splunk.com | ||
/DocumentationStatic/JavaLogging/1.8.0/index.html). | ||
|
||
* For all things developer with Splunk, see the | ||
[Splunk Developer Portal](http://dev.splunk.com). | ||
|
||
* For more about about Splunk in general, see | ||
[Splunk>Docs](http://docs.splunk.com/Documentation/Splunk). | ||
|
||
## License | ||
|
||
Splunk logging for Java is licensed under the Apache License 2.0. | ||
|
||
See the [LICENSE file](/license.md) for details. | ||
|
||
## Contributions | ||
|
||
[Get the Splunk Java Logging Framework from GitHub](https://github.com/splunk/splunk-library-javalogging) | ||
and clone the resources to your computer. For example, use the following | ||
command: | ||
|
||
git clone https://github.com/splunk/splunk-library-javalogging.git | ||
|
||
## Support | ||
|
||
The Splunk logging for Java is community-supported. | ||
|
||
1. You can find help through our community on [Splunk Answers](http://answers.splunk.com/) (use the "logging-library-java" tag to identify your questions). | ||
2. File issues on [GitHub](https://github.com/splunk/splunk-library-javalogging/issues). | ||
|
||
## Contact us | ||
|
||
You can reach the Dev Platform team at [devinfo@splunk.com](mailto:devinfo@splunk.com). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.