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

Posted: October 10, 2018 in Tips and Trick, Work

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

  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 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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s