Skip to main content

Responses are generated using AI and may contain mistakes.

Log StreamLog Stream Guide

Import a Custom Parser

Use these instructions to import an existing custom parser and event builder. Ensure that you import sample logs that represent the type of information you want to ingest. The sample logs ensure that your parser can properly extracts the appropriate data.

  1. On the Parsers Overview tab of the Log Stream home page, click the Import icon (icon-import.png).

    The Import Parser dialog appears.

    PM-ImportParser.jpg
  2. Click Select File, then upload a ZIP or GZIP file containing your parsers and event builders. These files must follow certain requirements:

    • The ZIP or GZIP file must be no more than 500 MB.

    • Your parsers and event builders must be in HOCON format.

    • The parser file must be named parsers.conf. You can include multiple parsers in this file.

    • The event builder file must be named event_builder.conf. You can include multiple event builders in this file.

    Note

    If the files you are attempting to import do not conform to the requirements, you will see a message listing the errors and you will be unable to import the parsers.

  3. Click Import Parsers.

    PMEnableImportedParsers.png
  4. Click Ok to enable the imported parsers.

  5. The parser appears in the list of custom parsers.

  6. Validate that the parser is accurately parsing and mapping data as expected. You can validate the data ingestion by viewing incoming logs in Live Tail or by running queries for specific fields in the Search application.