A Search Template lets you store search queries with placeholders. During runtime, you can replace the placeholders defined in the search template with actual keywords. Refer to the Search Templates section in LogPoint for more details.
Using LPSM, you can create, manage, and perform actions on search templates on behalf of the Fabric-enabled LogPoint.
Note
You can create, edit, and perform actions on search templates on LogPoint v6.10.0 and later only. However, you can share a search template to different user groups with Read, Edit, or Full permissions on LogPoint v6.12.0 and later only, and you can push search templates and view push history on LogPoint v7.0.0 and later only.
Go to Settings >> LogPoint Configuration >> Search Templates.
Search Templates¶
Click Add.
Adding a Search Template¶
Select a Pool, a Machine, and a LogPoint User.
Enter a Name and a Description.
Enter a basequery name and a query.
Note
Use {{ and }} to enclose placeholders in the queries.
Click the Plus icon to add new base queries and the Minus icon to remove a field.
In the Fields section, enter a Field which is a placeholder used in a base query, a Display Text for the field, and a default Value.
Note
You can provide multiple values for Field, Display Text, and Value.
Click Submit.
Note
Click the ? icon near the top-right corner to get help on the inputs.
Go to Settings >> LogPoint Configuration >> Search Templates.
Select the search templates and click Push.
Pushing a Search Template¶
Push Search Templates¶
Select the Pool, LogPoint, or User where you want to push the selected search templates.
Click Push.
You can click the Push History button to check the push history.
Push History¶
The Push History page lists the Push Summary, Status, Date, and Actions of all push attempts.
Click the Retry (
) icon from the Actions column to retry the failed push attempt.
Click the Details (
) icon from the Actions column to open the Push Detail page.
Go to Settings >> LogPoint Configuration >> Search Templates.
Click the Edit icon from the Actions column of the search template.
Editing a Search Template¶
Update the information.
Click Submit.
You can share a search template with all the users in the system and give them the read, edit, or full permissions. Any changes made in the search templates are visible to all the shared users.
Each parameter in a shared search template is categorized into three types:
Global parameters can be changed only by the users with the Edit or Full permissions. Changes in the global parameters are reflected for all the users using the shared search template. The following parameters are global:
The name, description, queries, and field values of the search template.
Title and order of tabs, including creation and deletion of tabs.
Title, query, dimensions, and positions of widgets, including addition and deletion of widgets.
Personalized parameters can be changed by all the users. However, the changes in the personalized parameters are reflected only for the users making the change. The following parameters are personalized:
The updatable parameters
Selected repos
Time range
Hybrid parameters can be changed by all the users. If the user changing the parameters has the Edit or Full permissions, the changes are reflected for all the users. However, if the user has only the Read permission, the changes are reflected only for the user making the change. The following parameters are hybrid:
Chart types of widgets
Legends and legend labels of widgets
Trend state of widgets
Note
If a user with the Edit or Full permissions changes a hybrid parameter, the changes made by all other users are overridden.
A user with the Full permission can also Share and Delete a shared search template.
To share a search template:
Go to Settings >> LogPoint Configuration >> Search Templates.
Click the Share Template icon from the Actions column of the search template.
Search Templates¶
To share multiple search templates, select the search templates. Click the More drop-down and select Share Selected With Other Users.
Share Multiple Search Templates¶
Select the users groups for all the users you want to share the search templates.
Providing Permissions for the Shared Search Template¶
Select the Read, Edit, or Full permissions for the users.
Click Submit.
Note
If you delete the owner of the search template from the system, LogPoint provides two options:
You can delete the search template as well, making it unavailable to all the users.
You can re-assign the search template to any other user in the system.
You can unshare a search template by removing the permissions for all the user groups from the Share Search Template panel.
Go to Settings >> LogPoint Configuration >> Search Templates.
Click the Clone icon from the Actions column of the search template.
Search Templates¶
Select a LogPoint user from the drop-down.
Clone Search Template¶
Enter a new Name for the cloned template.
Select the Replace Existing? checkbox to replace an existing template with the same name.
Click Clone.
Go to Settings >> LogPoint Configuration >> Search Templates.
Click the Delete icon from the Actions column of the search template.
Search Templates¶
Click Yes.
Go to Settings >> LogPoint Configuration >> Search Templates.
Click the Name of the template you want to view.
Search Templates¶
LPSM directs you to the Search Template View where you can access the dashboards of the search template. From the Search Template View, you can perform the following tasks:
Click the Plus icon at the top.
Add Dashboard¶
Enter the Dashboard Name.
Add Dashboard Panel¶
Click Ok.
Note
You must add at least one dashboard to use the features of the Search Template View.
Click Auto Arrange to automatically arrange the widgets in a presentable form.
Dashboard¶
Enter the new values for the variables in the Update Parameters section.
Update Parameters Panel¶
Select Override widget time range to select a time-range. The time-range you provide takes precedence over the one provided for individual widgets.
Select the Repos where you want to perform the search.
Click Update.
After clicking Update, the widgets continuously retrieve their respective logs.
Click the Stop button to stop the widgets from retrieving additional logs. Doing this pauses the visualization of all the widgets. You can only see the already received log results.
Stop Update¶
Note
The widgets show updated values only after you click the Update button.
Click Back to redirect to the list view of the search templates.
The search templates remember the last visualization used on the widgets.
You can drill-down on the search results from the non-edit mode of the widget of the search templates.
We are glad this guide helped.
Please don't include any personal information in your comment
Contact Support