All Apps and Add-ons

console output of jenkins is required in splunk

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

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

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

Explorer

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

0 Karma

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

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

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

0 Karma
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!