All Apps and Add-ons

Splunk Plugin for Jenkins: Key Value Mapping issue

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

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
Don’t Miss Global Splunk
User Groups Week!

Free LIVE events worldwide 2/8-2/12
Connect, learn, and collect rad prizes
and swag!