Splunk Search

Can we get Bamboo build stats into Splunk?

roopendra
Engager

We have Jira Add-On which allow us run Jira API to get Jira stats on Splunk. Similarly is there any Add-on or custom solution available on Splunk for Bamboo to track stats like
- How many successful build happens in a day?
- Total number of builds
- Build stats based on development environment. etc..

I got to know we can index Bamboo log from Java Logging Appenders but not sure how I can extract these stats from Bamboo logs.

I will really appreciate any help on this

Jira Add-on: https://splunkbase.splunk.com/app/1438/#/overview
Java Logging Appenders: https://splunkbase.splunk.com/app/1715/

Tags (2)

nehannaidu
Engager

Hi @roopendra,

 

Could you please let me know the steps which you have followed to implement Bamboo build stats into splunk?

It will be helpful for me as I am working on that.

Regards,

Neha

 

0 Karma

AGLbwa
Path Finder

There is a TA for bamboo, not supported by Splunk. If you get a traceback in $SPLUNK_HOME/var/log/splunk/libs_bamboo that ends in:
KeyError: 'sourcetype'
you need to change file $SPLUNK_HOME/etc/apps/ta-bamboo/bin/bamboo.py, line 219, in extract:
from:
self.output_sourcetype = self.input_items['sourcetype'] or 'bamboo'
to:
try:
self.output_sourcetype = self.input_items['sourcetype']
except KeyError:
self.output_sourcetype = 'bamboo'
except:
raise

Hopefully this will help someone else avoid my pain.

B-)

0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

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