ARTIFACTORY - How to Integrate Your Kubernetes Artifactory Logs with Splunk (sgs edit)

ARTIFACTORY - How to Integrate Your Kubernetes Artifactory Logs with Splunk (sgs edit)

AuthorFullName__c
Shai Ben-Zvi
articleNumber
000004750
ft:sourceType
Salesforce
FirstPublishedDate
2019-12-19T11:45:38Z
lastModifiedDate
2024-03-10T07:47:44Z
VersionNumber
5

If you're using Splunk in your company, you may well want to ship your Artifactory logs to it. When using Kubernetes, a common use-case is to push logs to files that end with stdout stderr on a pod to Splunk. Accordingly, it's important to be aware that your Artifactory logs are managed by the logback.xml file, which can be found in the $ARTIFACTORY_HOME/etc folder. That file also controls where Artifactory stores logs that use appenders. Therefore, you can simply add an appender to push everything to a stdout log file, which will then be picked up by your external Splunk forwarder.


Published: Dec. 19, 2019
Last updated: May. 30, 2021


Keywords: Kubernetes, Splunk, logs