Log Parser Plugin
Overview
Log Parser Plugins in Motadata AIOps are essential tools designed to parse and process logs ingested into the system. While there are numerous built-in log parser plugins available, there may be instances where you need a customized approach to log parsing. In such cases, you can create your own custom log parser plugin to meet specific requirements.
Navigation
Go to Menu, Select Settings . After that, Go to Plugin Library . Select Log Parser Plugin. The Log Parser Plugin screen is displayed.
Creating a Log Parser Plugin
Overview
Creating a log parser plugin allows you to define how logs should be parsed and processed. This is particularly useful when dealing with unique log formats or specific parsing requirements not covered by the built-in plugins.
Navigation
To create a log parser plugin, click the Create Log Parser Plugin button. This will take you to the log parser plugin creation screen, where you need to provide the necessary details and scripting for your custom log parser.
Log Parser Plugin Creation Screen
Field | Description |
---|---|
Name | Enter a unique and descriptive name for your log parser plugin. This will help you identify and manage the plugin within the system. |
Parsing Script | Write the script that defines how the logs should be parsed. This script will process the logs according to your custom requirements, extract, transform, and load the log data as per your requirements. |
Usage
Once you have created the log parser plugin, you can use it within a custom plugin parser to ensure that logs are parsed according to your specifications.
To apply the custom parser, create an entry in the Log Inventory for the log source you wish to parse. Assign the custom log parser plugin to the log source in the Log Inventory Screen.
By following these steps, you can ensure that logs are parsed accurately and effectively, providing you with the necessary insights and data for your monitoring and analysis needs.