Child pages
  • opEvents REST API Reference

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added fine print about node vs host to api parameters

...

The body of the request must be a valid JSON document, containing the desired event properties as a hash. Some properties (e.g. date, time) can be omitted and will be filled in automatically. As an absolute minimum, a node or a host property, and an event property must be present. If (and only if!) node is not present, then opEvents looks up host and attempts to find the canonical node for the hostname or IP address from the host property  - this heuristic is described in more detail here. The resulting node must be known to opEvents and must not be disabled for opEvents.

...