@grow-codes/graylog - v0.1.1
    Preparing search index...

    Function validateGelfFieldKey

    • Validates an explicit additional field key for GelfMessage.setField. Accepts name or _name; returns the _name wire key. Throws ValidationError for keys outside [A-Za-z0-9_.-], empty keys and the reserved id.

      Parameters

      • key: string

      Returns `_${string}`