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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

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 ...