All Apps and Add-ons

Splunk Plugin for Jenkins: Key Value Mapping issue

ryansmith303
New Member

I am attempting to set index by using the following syntax per the Documentation: https://wiki.jenkins.io/display/JENKINS/Splunk+Plugin+for+Jenkins and when I use the index : jenkins:customindex key value pair, it creates extended_index instead of index.

The goal here is that I need to send buildEvent's to their own Splunk Index, and so far the Splunk documentation has not been verbose enough to help with this task. Can you assist?

Plugin Version 1.7.4

ScriptConsole
alt text

0 Karma

txiao_splunk
Splunk Employee
Splunk Employee

you can config it in Jenkins global config page "Custom Metadata" section, then run a jenkins job and check the build events.
SplunkLogService.send method is not for public use and not documented.

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...