cuap cuap

How To Exclude Headers in On Demand Upload (ODU) OMC Log Analytics

Advertisements

Steps to exclude headers from appearing in Log Analytics are below:

  1. From Oracle Log Analytics, click the OMC Navigation () icon on the top left corner of the interface. In the OMC Navigation bar, click Administration Home.
  2. In the Log Sources section, click Create source.

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

    This displays the Create Log Source dialog box.

  3. Specify the relevant values for the SourceSource TypeEntity Type, and File Parser fields.
  4. In the Included Patterns tab, click Add to specify file name patterns for this log source.
  5. Click the Data Filters tab and click Add.
  6. Enter the filter Name, select Drop Log Entry as the Type, and enter the Find Expression value such as .*device_id=.*.
  7. Click Save.

When you view the log entries for this log source, you’ll find that Oracle Log Analytics has dropped all those lines that contain the string device_id in them.

Note:

Apart from adding data filters when creating a log source, you can also edit an existing log source to add data filters. See Managing Existing Log Sources to learn about editing existing log sources.

 

Details on using Data Filters can be found here:

Advertisements

Advertisements