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!

How to Monitor Google Kubernetes Engine (GKE)

We’ve looked at how to integrate Kubernetes environments with Splunk Observability Cloud, but what about ...

Index This | How can you make 45 using only 4?

October 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Splunk Education Goes to Washington | Splunk GovSummit 2024

If you’re in the Washington, D.C. area, this is your opportunity to take your career and Splunk skills to the ...