Knowing that the data you need exists but being unable to find it has got to be one of the most frustrating feelings. The option to search and find exactly what we’re looking for, especially when you’re trying to fix errors in a timely manner, is functionality that we often take for granted. In part four of the Bugsnag Beginners Series, we explain how you can meaningfully extract and section error data with bookmarks by using the Search Builder in the Error Inbox. The advantages of such Search and Segmentation features include:
To get started, you can sign up for a free trial of BugSnag (no credit card required). Once you’re in, follow the steps below to fully maximize your usage.
To begin searching for errors, make sure you’re in the Error Inbox of your BugSnag dashboard. To the left of the search bar, you’ll find filters across three categories: stage (i.e., production, staging, and development), release, and severity (i.e., error, warning, and info). For more details on what each of these filters mean, you can refer to the docs.
BugSnag supports partial matches against the error class, error message, filename, and method. Based on your selection, and whenever you update the terms in the search bar at the very top, the inbox will automatically apply the filters and present the corresponding results among your stacktraces. A list of all the matching errors along with more granular information will appear.
What is more, you can use the Search Builder for even more precise querying on top of the code-level details.
Selecting the Search Builder option lets you factor in the following:
For a deeper dive into how each of these fields is defined, make sure to look at the docs.
As commonplace as search may seem to be, it sure is a powerful feature, especially when elevated with advanced functionality.
After you identify what you’re searching for, you may want to organize those results for future reference. Once you create an error segment, you can save your search criteria by bookmarking the segment (which you can learn more about on the blog):
You can either keep the bookmark private or share access with other collaborators on your project. BugSnag stores your bookmarks on the bottom left side of your Errors Inbox as shown below:
Any shared bookmarks will contain a multiuser icon:
Hovering over the icon will show you who not only made but also last edited the bookmark – pretty neat.
Search and segmentation can make a huge difference when you’re trying to move fast and focus more of your energy on fixing the problem rather than finding it. To learn more, we encourage you to check out the other posts in this series: