When multiple teams share the same account, or when your logs have many different sources, it is critical to be able to promptly start investigating the right content. With Datadog, teams can define and share Log Explorer Views so everyone can start troubleshooting with the same predefined context.
Datadog Saved Views allow you to save search customizations in the Log Explorer, including:
Saved Views can then be selected directly in the left panel or in the search bar thanks to auto-completion, which matches on either search name or query.
By default, all facets are displayed for all users.
Each user can define their own list of default facets and facet groups to display by using the Manage Facets button and then selecting the desired facets.
Once this has been done, the Log Explorer uses the default list of facets whenever it is opened. This also works when clicking on Log Explorer - Default view from the list of Saved Views:
To create a new Saved View:
Saved Views can be removed directly from the Saved View list in the Logs Explorer. Hover over the name of the Saved View to reveal its delete button. Click on it and confirm.
To update an existing Saved View, proceed exactly as if you were creating a new one but instead of saving it, select an existing Saved View from the drop down, click on replace, and confirm.
After selecting a Saved View, you can continue to refine and modify your search as needed for your troubleshooting purposes. After changing the view, you can always revert to the most recent saved version of the Saved View by selecting the Revert button.
Note: The Revert button does not undo changes after they have been saved.