IP Address Module

Variables

LPEG Grammars

  • v4 - IPv4 address matcher
  • v6 - IPv6 address matcher
  • hostname - URI reg-name
  • host - v6 | v4 | hostname
  • host_field - returns the host as a Heka message field table {value="127.0.0.1", representation="ipv4"}
  • 'v4_field' - converts a version 4 ip address into a Heka message field
  • v6_field - converts a version 6 ip address into a Heka message field

source code: ip_address.lua

results matching ""

    No results matching ""