All Apps and Add-ons

console output of jenkins is required in splunk

nishanth_boovat
Explorer

Hello All,

I have integrated Jenkins to Splunk in order to get my logs of all the jobs in an report format.

In Jenkins there is static job created which will run across 100 of slave nodes concurrently, in that job i am running few commands across the Linux servers, so here i need is to get the output of those commands in a customized dashboard format.

But what i am getting now is just the job status on success/failure.

Can someone guide me on achieving this customized dashboard creation on splunk.

Thank you in advance..

0 Karma

txiao_splunk
Splunk Employee
Splunk Employee

could you lookup into index=jenkins_console and run some searches, maybe the free book Exploring Splunk can help you

0 Karma

nishanth_boovat
Explorer

Thank you for the reply txiao, i have tried all the possible way and finally achieved my requirement by sending the input file in JSON format to splunk. Now all i have to work on is automating the process of exporting data 🙂

0 Karma

rawlingssam
Explorer

can you please provide the steps you followed to get this working? Thanks

0 Karma

nishanth_boovat
Explorer

Installed forwarder agent on the node, placed the .json file on specific location and on inputs.conf file wrote a statement to monitor all the .json files placed there.

[monitor://]

0 Karma

nishanth_boovat
Explorer

you can also use http event collector, refer the below page:

http://docs.splunk.com/Documentation/Splunk/latest/Data/UsetheHTTPEventCollector

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...