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!

Splunk MCP & Agentic AI: Machine Data Without Limits

  Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization ...

Finding Based Detections General Availability

Overview  We’ve come a long way, folks, but here in Enterprise Security 8.4 I’m happy to announce Finding ...

Get Your Hands Dirty (and Your Shoes Comfy): The Splunk Experience

Hands-On Learning and Technical Seminars  Sometimes, you just need to see the code. For those looking for a ...