Search Templates

Search Template stores search queries with placeholders. The stored queries are called base queries. The placeholders in the base queries are used as variables which you can replace with actual search keywords during runtime. You can save multiple base queries in a search template and use them to run search queries or create dashboard widgets. 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.

My Search Templates contains all the search templates you have created or cloned. The vendor search templates are grouped under Vendor Search Templates and those shared by other users are grouped under Shared Search Templates.

Creating a Search Template

The created search templates are automatically shared with the users in the Logpoint Administrator user group.

  1. Go to Search Templates from the navigation bar.

  2. Click Add.

  3. Enter a Name and Description.

../_images/LP_KB_ST_AddPanel.png

Adding a Search Template

  1. Enter the base queries in Basequery list. Enter a name and a query for each base query. Use {{ and }} to enclose placeholders in the queries. Click the Plus icon to add new base query fields and the Minus icon to remove the corresponding field.

  2. In Fields, enter a Field used as a placeholder in any of the base queries, a Display Text for the field, and a default Value. You can enter multiple values for Field, Display Text, and Value.

  3. Click Submit.

Click the ? icon near the top-right corner to get help on the inputs.

Exporting Search Templates

  1. Go to Search Templates from the navigation bar.

  2. Select the templates to export.

  3. Click Export.

  4. Save the exported template.

Importing Search Templates

The imported search templates are automatically shared with the users in the Logpoint Administrator user group.

  1. Go to Search Templates from the navigation bar.

  2. Click Import.

  3. Browse for the template package file.

  4. Click Upload.

Editing a Search Template

  1. Go to Search Templates from the navigation bar.

  2. Click the Edit icon in Actions of the search template and update the information.

../_images/LP_KB_ST_Edit.png

Editing a Search Template

  1. Click Submit.

Sharing Search Templates

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:

  1. 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.

  2. 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 updateable parameters

    • Selected repos

    • Time range

  3. 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

  • 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:

  1. Go to Search Templates from the navigation bar.

  2. Click the Share Template icon under Actions of the template you would like to share.

    ../_images/LP_KB_ST_Share.png

    Search Templates

  3. To share multiple Search Templates, select the respective templates. Click the MORE dropdown and choose Share Selected With Other Users.

  4. To share all the Search Templates, click the MORE dropdown and choose Share All With Other Users.

    ../_images/LP_KB_ST_ShareAll.png

    Sharing Search Templates

  5. Select the users groups for all the users to share the search templates with.

    ../_images/LP_KT_ST_Share_Permissions.png

    Providing permissions for a shared search template

  6. Select the Read, Edit, or Full permissions for the users. Refer to the introduction section of Sharing Search Templates for details on user permissions.

  7. Click Submit

You can unshare a search template by removing the permissions for all the user groups from Share Search Template.

Deleting a Shared Search Template’s Owner

While deleting a shared search template’s owner, you must delete the shared template or transfer the template’s ownership to another user. You can do this from the Transfer Ownership panel that appears when you attempt to delete a user whose template is being shared.

  1. Go to Settings >> User Accounts from the navigation bar and click Users.

  2. De-activate the user by clicking the De-Activate User icon in Actions.

  3. Click Manage De-Activated Users.

  4. Click the Delete icon in Actions of the user.

  5. Click Yes.

  6. To transfer the ownership, select a user from the drop-down and click Submit. The transferred template is listed in the Search Templates page in the owner’s system.

../_images/LP_ST_DeleteSharedOwner_Transfer.png

Transferring the Ownership of a Shared Search Template

  1. To delete the user and user’s template without transferring their ownership, click Delete.

../_images/LP_ST_DeleteSharedOwner_Delete.png

Deleting a Shared Search Template’s Owner

Cloning Search Templates

The cloned search templates are automatically shared with the users in the Logpoint Administrator user group.

  1. Go to Search Templates from the navigation bar.

  2. Click the Clone icon under Actions of the template.

    ../_images/LP_KB_ST_Clone.png

    Search Templates

  3. To clone multiple Search Templates, select the templates. Click the MORE dropdown and choose Clone Selected Templates.

  4. To clone all the Search Templates, click the MORE dropdown and choose Clone All Templates.

    ../_images/LP_KB_ST_ShareAll.png

    Cloning Search Templates

  1. Enter a new Name for the cloned template.

  2. Select the Replace Existing? checkbox to replace an existing template with the same name.

  3. Click Clone.

Deleting Search Templates

  1. Go to Search Templates from the navigation bar.

  2. Click the Delete icon under Actions of the template.

    ../_images/LP_KB_ST_Delete.png

    Search Templates

  3. To delete multiple Search Templates, select the respective templates. Click the MORE dropdown and choose Delete Selected Templates.

  4. To delete all the Search Templates, click the MORE dropdown and choose Delete All Templates.

    ../_images/LP_KB_ST_ShareAll.png

    Deleting Search Templates

  1. Click Yes.

Viewing a Search Template

  1. Go to Search Templates from the navigation bar.

  2. Click the Name of the template.

../_images/LP_KB_ST_View.png

Search Templates

Logpoint forwards you to the Search Template View where you can access the dashboards of the corresponding search template. You can also view a shared search template using the same method.

From the search template view, you can perform the following tasks:

Adding a Dashboard

You must add at least one dashboard to use the features of the Search Template View.

  1. Click the Plus icon at the top.

../_images/LP_KB_ST_View_AddDash.png

Add Dashboard

  1. Enter the name of the dashboard.

../_images/LP_KB_ST_View_AddDashPanel.png

Add Dashboard Panel

  1. Click Ok.

Adding a Widget

  1. Click Add Widget.

../_images/LP_KB_ST_View_AddWidget.png

Dashboard

  1. Enter a Name for the widget.

../_images/LP_KB_ST_View_CreateWidget.png

Create Widget Panel

  1. In the Query field, enter the name of a base query within {{ and }}.

  2. Enter a Description and a Time-range for the widget.

Creating a Report

  1. Click Report at the top of the dashboard.

../_images/LP_KB_ST_View_Report.png

Create Report

  1. Enter the Report Name and an Email address.

../_images/LP_KB_ST_View_CreateReport.png

Create Report

  1. Click Submit.

You will receive the report in the PDF format.

Auto-arrange the Widgets

Click Auto Arrange to automatically arrange the widgets in a presentable form.

../_images/LP_KB_ST_View_AutoArrange.png

Dashboard

Updating Parameters

  1. Enter the new values for the variables in the panel to the right.

../_images/LP_KB_ST_View_UpdateParameters.png

Update Parameters Panel

  1. Click Override widget time range to select a time-range. The time-range you provide in this field takes precedence over the one provided for individual widgets.

  2. Select the Repos in which to perform the search.

  3. Click Update.

Stopping widget update

After clicking Update, the widgets continuously retrieve their respective logs. The widgets show updated values only after you click Update. Click Back to redirect to the list view of the search templates.

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.

../_images/LP_KB_ST_View_Stop.png

Stop Update


Helpful?

We are glad this guide helped.


Please don't include any personal information in your comment

Contact Support