All Apps and Add-ons

How to install and configure Jenkins and integrate Splunk plugin in local machine for non-licensed version(free version)

vishnun09
Engager

I need to install and configure Jenkins and integrate Splunk plugin into Jenkins in my local machine for non-licensed version.
I am doing research into this for my local environment.
Can you share step by step process for the above two points

Tags (1)

Hemnaath
Motivator

Hi Vishnu, I am trying to create a POC to integrate the splunk with Jenkins, I found this link
https://wiki.jenkins.io/display/JENKINS/Splunk+Plugin+for+Jenkins and based on the document, I have gone through the steps, and downloaded the Zip file from the git repository splunk-devops-plugin-master. Followed the below steps.

Steps:

Installed Java 1.8 version in 64 bit Windows Platform.

Installed Jenkins-2.190.3 in 64 bit windows Platform.

Splunk Enterprise 7.3 (Single instance deployment method).

Installed Splunk App for Jenkins 2.0.

Created HEC token in splunk.

Configured Splunk plugin for Jenkins.

Test Connection --> Splunk connection Verified.

Validating the connection checking the Splunk console and able to see the below events information when we perform "Test Connection"

12/9/19
10:04:25.036 PM ping from jenkins plugin raw event ping
host = xxxxx source = http:jenkins sourcetype = text:jenkins

Configured custom metadata -->
Data Source --> Build Event
Config Item --> Index
Value --> Customer_index

But when I am trying to check with Splunk APP for Jenkins, unable to see any data, so could you please guide me how /where to trouble shoot this issue.

0 Karma

thunder_wu
Path Finder

Hi Hemnaath, this is very promising. I can get the splunk plugin installed and point to my local host splunk free version. However test connection hungs. Can you share a screen of you Jenkins configuration screen?

0 Karma

txiao_splunk
Splunk Employee
Splunk Employee

Check this out https://wiki.jenkins-ci.org/display/JENKINS/Splunk+Plugin+for+Jenkins
And on the Jenkins plugin config page, click the question mark near the "HTTP Input Port" or "HTTP Input Token", you will find more screenshots and guide

0 Karma
Get Updates on the Splunk Community!

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...