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.
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:
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'
self.output_sourcetype = self.input_items['sourcetype']
self.output_sourcetype = 'bamboo'
Hopefully this will help someone else avoid my pain.