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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Catalog Is Now Generally Available on Splunk Cloud Platform

A Unified View of Your Data  Security logs, application events, business data, and historical telemetry often ...

Developer Spotlight with Eduard Lekanne

From Network Engineer to Building Agentic AI for Splunk Eduard Lekanne has been architecting technology ...

From Data Landing to Insight

Search Across More of Your Data Ecosystem The data you need may live in Splunk, high-volume machine data, ...