Is the Nx Cloud up? Visit our Status Page for the current health and performance of the Nx Cloud.

Status Page

Using event metadeta in Show Text Overlay, Notifications etc

Answered

Comments

2 comments

  • Norman
    • Network Optix team

    Hi Nathan Blaney,

    By default, the following values can be used for the Text Overlay: 

    • {device.type}
    • {device.mac}
    • {device.name}
    • {device.ip}
    • {device.logicalId}
    • {event.type}
    • {event.source}
    • {event.caption}
    • {event.description}
    • {event.timestampUs}
    • {event.time
    • {event.timestamp}
    • {event.name}
    • {server.name}
    • {site.name}

    Anything else, should be transferred to, the {event.xxxx} values when creating the plugin. 

    With kind regards. 

    0
  • Ichiro
    • Network Optix team

    Thanks for your question.

    What you're looking at is the "response" from the API, but what you're trying to use is the "placeholder" for event parameters. These are two genuinely different things, and they're used in different ways and components.

    The placeholder is a Desktop Client feature, used for display purposes. It's available whenever the server exposes the attribute you're after.

    The API response, on the other hand, has nothing to do with the Desktop Client.
    It's the schema the server uses to respond to an API request. So applying an API schema within the Desktop Client isn't feasible; the two don't map onto each other.

    The available attributes come from whichever plugin you're using. 

    Whatever that plugin provides gets flowed through into the list of attributes you can reference. 

    The correct syntax is {event.attributes.*}, assuming the plugin does provide that value.

    Hope this helps.

    0

Please sign in to leave a comment.