Loggly: Write Node

The Loggly: Write Node sends one or more messages to SolarWinds Loggly either as strings or as structured JSON data.

Loggly Write Node

Node Properties

There are three configuration sections for this node.

Loggly Credentials

Enter your Loggly Customer Token. This field is templatable. It is also a required field.

Loggly Write Node Credentials

Configuration

Data Method - Choose whether to write each log message individually, or whether to provide a JSON template or a payload path defining one or more log messages.

  • Individual Fields allows you to enter a message as a string template and/or structured data as a JSON template. Either the message or the JSON is required. Optionally, you may also provide one or more tags as a comma-separated list.
  • JSON Template accepts a JSON template and it is a required field. The template must include message (string) and/or json (structured JSON) properties, and optionally a tags property (array of strings). You may also provide an array of such templates to send multiple messages.
  • Payload Path accepts a payload path and is a required field. The value at the provided path must be an object with properties message (string) and/or json (structured JSON), and optionally a tags property (array of strings). You may also reference an array of such objects to send multiple messages.

Loggly Write Node Configuration

Result

Optionally, you can store the message response on the current payload by entering a payload path here. The value will be an object with the following properties:

  • success: The value is true if the message was successfully sent, and false if the message failed to send.
  • error: If the message failed to send, the result may include this property with a message explaining why the request failed.
  • results: An array of objects describing the write result for each message in the request.

Loggly Write Node Result

Once the node is configured and invoked in a workflow, the resultant Loggly messages will look similar to this:

Loggly Write Node Loggly Event

Was this page helpful?


Still looking for help? You can also search the WEGnology Forums or submit your question there.