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!

Vibe-coding, AI, and Splunkcraft: Highlights from the .conf26 Builder Bar

If you stopped by the Builder Bar at .conf26, thank you! This year, we brought ...

Thanks for the Memories: .conf26 Took Learning to New Heights

Thank you, Splunk Community, for making .conf26 in Denver one for the books. From packed Splunk University ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...