Install the app in your Splunk instance. Then restart your Splunk instance by going to Server Controls > Restart.
You may need to create a new HTTP Event Collector data input. You can do this at Settings > Data Inputs > HTTP Event Collector. Use the JFrog app as the context. Then use the token as the HEC_TOKEN as described below in the FluentD configuration.
FluentD is used to send log events, violations and metrics to Splunk. This repo contains instructions on various installations options for Fluentd as a logging agent. The FluentD configuration must specify the HEC_HOST, HEC_PORT and HEC_TOKEN.
For Logs,
<match jfrog.**>
@type splunk_hec
protocol COM_PROTOCOL
hec_host HEC_HOST <-- splunk host
hec_port HEC_PORT <-- splunk HEC port
hec_token HEC_TOKEN <-- replace HEC_TOKEN
index jfrog_splunk
format json
# buffered output parameter
flush_interval 10s
insecure_ssl INSECURE_SSL
# ssl parameter
use_ssl false
ca_file /path/to/ca.pem
</match>
For Metrics,
<match jfrog.metrics.**>
@type splunk_hec
datatype metric
protocol COM_PROTOCOL
hec_host HEC_HOST <-- splunk host
hec_port HEC_PORT <-- splunk HEC port
hec_token METRICS_HEC_TOKEN <-- replace METRICS_HEC_TOKEN for Metrics Use
index jfrog_splunk_metrics
format json
# buffered output parameter
flush_interval 10s
insecure_ssl INSECURE_SSL
# ssl parameter
use_ssl false
ca_file /path/to/ca.pem
</match>
#END SPLUNK OUTPUT
For complete instructions on setup of the integration between JFrog Artifactory & Xray to Splunk visit our Github repo
This repo will contain instructions on various installations options of fluentd as a logging agent to collect logs to be sent to Splunk.
As a Splunkbase app developer, you will have access to all Splunk development resources and receive a 10GB license to build an app that will help solve use cases for customers all over the world. Splunkbase has 1000+ apps from Splunk, our partners and our community. Find an app for most any data source and user need, or simply create your own with help from our developer portal.