Syslog Server - Send Log Message
  • 28 Jan 2024
  • 2 Minutes to read
  • Dark
    Light
  • PDF

Syslog Server - Send Log Message

  • Dark
    Light
  • PDF

Article Summary

Syslog Server - Send Log Message sends a message with the action results summary to syslog and optional messages with the device data for each of the devices in the query results as a JSON file. It sends a JSON file with data about the system entity queried, for queries created on Activity logs and Fetch History using filters.

To use this action, you must enable the Use Syslog setting and configure a Syslog host and port. For more details, see Configuring Syslog Settings.

The message includes:

  • The Enforcement Set name
  • The triggered query
  • The condition for executing the Enforcement action (if it exists)
  • The number of current and previous results

See Creating Enforcement Sets to learn more about adding Enforcement Actions to Enforcement Sets.

General Settings

  • Enforcement Set name (required) - The name of the Enforcement Set. A default value is added by Axonius. You can change the name according to your needs.
  • Add description - Click to add a description of the Enforcement Set. It is recommended to describe what the Enforcement Set does.
  • Run action on assets matching following query (required) - Select an asset category and a query. The Enforcement Action will be run on the assets that match the query parameters.
  • Action name (required) - The name of the Main action. A default value is added by Axonius. You can change the name according to your needs.
  • Configure Dynamic Values - Toggle on to enter a Dynamic Value statement. See Creating Enforcement Action Dynamic Value Statements to learn more about Dynamic Value statement syntax.

Message Example

Click to see a message example

Alert - "test" for the following query has been triggered: Missing Sophos

Alert Details
The alert was triggered because: The number of entities is above 0
The number of devices returned by the query:4
The previous number of devices was:4

You can view the query and its results here: https://demo-latest.axonius.com/devices?view=Missing Sophos


Action Settings

Click to view Action Settings
  1. Send result details (required, default: False) - Select whether to send additional messages to syslog with the details of the results.
    • If enabled, in addition to the default Syslog message, Axonius will send a JSON file with details of the results.
    • If disabled, Axonius will send to Syslog only the default message.
  2. Message severity (required, default: info) - Select the message severity: info, warning or error.

Additional Settings

Click to view Additional Settings
  • Gateway Name - Select the gateway through which to connect to perform the action.


For more details about other Enforcement Actions available, see Action Library.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.