Label Packages
Label Packages are the collection of labeling rules. Labeling Rules are search terms that apply specific labels to log messages. Using labels, you can group the similar logs together. Labels are made up of distinct words from a log that characterize that particular log message.
In LogPoint, there are two types of Label Packages.
Vendor Packages: The label packages bundled with the LogPoint installation.
My Packages: The label packages that you add.
Adding a Label Package
Go to Settings >> Knowledge Base
from the navigation bar and click Label Packages.
Click Add.
Provide a Name and a Description in the Package Information section.
Click Submit. The Search Labels panel opens, containing all the existing search labels.
Click Add.
In the the Label Information section, provide a Search Query, select a Package and enter a List of Labels.
Click Submit.
Note
Switch between the My Packages and the Vendor Packages by clicking the drop-down menu at the top-left corner of the panel.
Applying Labels from the Search Interface
Go to Search
.
Enter the query to which you want to add the labels.
Click Search.
Click the Add Search To drop-down menu.
Select Labelling Rule to open the Search Label panel.
Select a Package, and enter a List of labels.
Click Submit.
Applying Labels using Normalization Signatures
Once a label is applied to the log messages with signatures, it is associated with that particular signature.
Go to Settings >> Knowledge Base
from the navigation bar and click Normalization Packages.
Click the Signatures icon in the Actions column for the respective normalization package.
Click the Edit Signature icon in the Actions column for the respective signature.
Type label in the first textbox for Key Value.
Enter a list of labels in the second textbox.
Click Submit.
Note
You can also add labels while adding a normalization signature.
Applying Labels with Labeling Rules
Go to Settings >> Knowledge Base
from the navigation bar and click Label Packages.
Click the Manage Labels icon in the Actions panel for the respective label.
Click Add to open the Search Label panel.
Provide a suitable Query, a Package Name, and a List of Labels.
Click Submit.
In this example, all the log messages satisfying the search query device_name = localhost are labelled with Localhost and 127.0.0.1.
Exporting Label Packages
Go to Settings >> Knowledge Base
from the navigation bar and click Label Packages.
Select the label packages you want to export.
Click Export.
Save the exported package.
Importing Label Packages
Go to Settings >> Knowledge Base
from the navigation bar and click Label Packages.
Click Import.
Locate the required label package.
Click Upload.
Editing a Label Package
Go to Settings >> Knowledge Base
from the navigation bar and click Label Packages.
Click the Name of the package that to edit.
Update the information.
Click Submit.
Activating Label Packages
Go to Settings >> Knowledge Base
from the navigation bar and click Label Packages.
Click the Activate label package icon under the Actions column of the label package.
To activate multiple Label Packages, select the respective packages. Click the More drop-down menu and choose Activate Selected Packages.
To activate all the Label Packages, click the More drop-down menu and choose Activate All Packages.
De-activating Label Packages
Go to Settings >> Knowledge Base
from the navigation bar and click Label Packages.
Click the De-activate label package icon under the Actions column for the label package.
To deactivate multiple label packages, select the respective packages. Click the More drop-down menu and choose Deactivate Selected Packages.
To deactivate all the label packages, click the More drop-down menu and choose Deactivate All Packages.
Cloning Label Packages
Go to Settings >> Knowledge Base
from the navigation bar and click Label Packages.
Click the Clone icon under the Actions column for the package.
To clone multiple label packages, select the respective packages. Click the More drop-down menu and choose Clone Selected Packages.
To clone all the label packages, click the More drop-down menu and choose Clone All Packages.
Enter new names for the cloned packages.
Check the Replace Existing? checkbox to replace an existing package with the same name.
Click Clone.
Deleting Label Packages
Go to Settings >> Knowledge Base
from the navigation bar and click Label Packages.
Click the Delete icon under the Actions column for the package.
To delete multiple Label Packages, select the packages. Click the More drop-down menu and choose Delete Selected Packages.
To delete all the Label Packages, click the More drop-down menu and choose Delete All Packages.
A delete confirmation dialog box appears on the screen. Click Yes to proceed.