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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...