Splunk Dev

How to assign a bug number to a source file with stack trace

vincenty
Explorer

New to Splunk. We want to see if we can search and analyze log files (from source) with stack traces and assign bug number to it (or tag it with bug number created with external bug DB). Not sure if anyone have done this? Or if there's other apps that can do this with Splunk.

Should we apply a "tag" with bug number to the source file?
Is there a way to link with the bug system?
other considerations?

thx in advance

0 Karma

dart
Splunk Employee
Splunk Employee

I'd do this with an eventtype - craft a search that matches the bug in question and then save it with a name indicating the bug number. It's the most flexible way to do this.

As an additional bonus, you can define a workflow action to link to your bug database, assuming it's web based and you can construct a URL from the bug number. (Or indeed, in a dashboard customize drilldown to go to the bug database)

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...