开源软件名称(OpenSource Name):splunk/splunk-library-javalogging开源软件地址(OpenSource Url):https://github.com/splunk/splunk-library-javalogging开源编程语言(OpenSource Language):Java 99.6%开源软件介绍(OpenSource Introduction):Splunk Logging for JavaVersion 1.11.5Splunk 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, Log4j 2, and java.util.logging. Splunk logging for Java is also enabled for Simple Logging Facade for Java (SLF4J). Splunk logging for Java provides:
RequirementsHere's what you need to get going with Splunk logging for Java. SplunkIf you haven't already installed Splunk, download it here. For more about installing and running Splunk and system requirements, see Installing & Running Splunk. Splunk logging for Java is tested with Splunk Enterprise 8.0 and 8.2.0. JavaYou'll need Java version 8 or higher, from OpenJDK or Oracle. Logging frameworksIf you're using the Log4j 2, Simple Logging Facade for Java (SLF4J), or Logback logging frameworks in conjunction with Splunk logging for Java there are additional compatibility requirements. For more about logging framework requirements, see Enable logging to HEC and Enable logging to TCP inputs. These frameworks require:
Documentation and resources
Dependency ManagementThe Apache MavenFirst define the repository as follows ...
<repositories>
<repository>
<id>splunk-artifactory</id>
<name>Splunk Releases</name>
<url>https://splunk.jfrog.io/splunk/ext-releases-local</url>
</repository>
</repositories>
... ... then reference the dependency as follows ...
<dependencies>
<dependency>
<groupId>com.splunk.logging</groupId>
<artifactId>splunk-library-javalogging</artifactId>
<version>${latest.version}</version>
</dependency>
...
</dependencies>
... The above can be adapted to suit Other dependency management implementations as necessary. LicenseSplunk logging for Java is licensed under the Apache License 2.0. See the LICENSE file for details. ContributionsGet the Splunk Java Logging Framework from GitHub and clone the resources to your computer. For example, use the following command:
SupportThe Splunk logging for Java is community-supported.
Contact usYou can contact support if you have Splunk related questions. You can reach the Dev Platform team at devinfo@splunk.com. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论