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!

Database Performance Sidebar Panel Now on APM Database Query Performance & Service ...

We’ve streamlined the troubleshooting experience for database-related service issues by adding a database ...

IM Landing Page Filter - Now Available

We’ve added the capability for you to filter across the summary details on the main Infrastructure Monitoring ...

Dynamic Links from Alerts to IM Navigators - New in Observability Cloud

Splunk continues to improve the troubleshooting experience in Observability Cloud with this latest enhancement ...