Skip to content

Extraction of IP and MAC Addresses

When analyzing data from network devices, it's often necessary to extract IP and MAC addresses from raw text (especially before detailed parsing rules are applied).

The following example demonstrates how to configure an Event Lane to automatically extract IP and MAC addresses from incoming events.

/EventLanes/tenant/eventlane.yaml
define:
    type: lmio/event-lane

parsec:
    name: /Parsers/path/to/parser/
    event:
        extract:
            ip_addresses: true
            mac_addresses: true