The Loggly: Write Node sends one or more messages to SolarWinds Loggly either as strings or as structured JSON data.
There are three configuration sections for this node.
Enter your Loggly Customer Token. This field is templatable. It is also a required field.
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
json(structured JSON) properties, and optionally a
tagsproperty (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
json(structured JSON), and optionally a
tagsproperty (array of strings). You may also reference an array of such objects to send multiple messages.
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
trueif the message was successfully sent, and
falseif 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.
Once the node is configured and invoked in a workflow, the resultant Loggly messages will look similar to this:
Was this page helpful?
Still looking for help? You can also search the Losant Forums or submit your question there.