5 Create a Parser

By creating a parser, you define how the fields are extracted from a log entry for a given type of log file.

  1. From Oracle Log Analytics, click the OMC Navigation open menu icon icon on the top left corner of the interface. In the OMC Navigation bar, click Administration Home.
  2. In the Log Parsers section, click Create parser.

    Alternatively, in the Log Parsers section, you can click the available number of log parsers link and then in the Log Parsers page, click Create.

  3. Select from Regex Type, JSON Type, or XML Type from the options.

    The Create Parser page is displayed. The Guided and Manual processes for creating the parser are available for the Regex Type.

    WARNING:

    For Regex Type, after you’ve selected the Manual mode to create the parser, you can’t change to the Guided mode.

    If you selected JSON Type or XML Type, then only the Manual process is enabled.

Note:

You can also create a parser using an out-of-the-box parser as a template. Select an out-of-the-box parser in the Log Parsers page, click Create Like, and modify the values in the fields as per your requirement.

Oracle Log Analytics provides many out-of-the-box parsers for log sources, such as Java Hotspot Dump logs, multiple systems, such as Linux, AIX, Siebel, PeopleSoft, and so on as well as for entity types, such as Oracle Database, Oracle WebLogic Server, and Oracle Enterprise Manager Cloud Control. You can access the complete list of supported parsers and log sources from within the Oracle Log Analytics user interface.