Configuring Syslog Settings
Axonius supports integration with a Syslog server. This allows you to manage Axonius logs along with your other system logs. You can configure multiple Syslog instances to use multiple Syslog servers.
When Use Syslog is enabled, all log entries shown in the Activity Logs module are also sent to the configured Syslog server. Examples of events sent include:
- Login
- Sent on success or failure of each login attempt.
- Entries include the supplied user name and the result.
- Discovery cycle phase
Sent at the beginning and end of each discovery cycle phase. - Adapter connection failures
- Sent when an adapter connection fails to connect using the supplied configuration.
- Entries include the adapter name, ID of the node running the adapter, and connection error.
- Adapter connection asset cleanup
- Sent when an adapter decides to remove assets due to the configuration defined in Advanced Settings.
- Entries include the number of assets removed.
- To learn more, see: Adapter Advanced Settings.
In addition, low disk space notifications are also sent to the configured Syslog server.
Note
Syslog settings must be configured to use the Enforcement Action Syslog Server - Send Log Message.
To configure Syslog settings:
- From the top right corner of any page, click
. The System Settings page opens. - In the Categories/Subcategories pane of the System Settings page, expand External Integrations, select Syslog, and enable Use Syslog.
- To send an event for each query run, select Send query history events. This option is available when Use Syslog is enabled. See Sending Query History Events.
-
To add a JSON formatted string to the HTTPS Log JSON, select Extra headers around message (JSON format). This enables efficient integration with tools that accept JSON input. The input should appear as follows:
{"index": 12345, "sourcetype": "_json"} - To send all Syslog messages using the RFC 5424 protocol, select Use RFC5424 Compliant messages format. If you want to send a token as well, enter a password into the Additional token field. Tokens are included in the structured data part of the message according to RFC5424 and tokens longer than 32 characters are supported.
- For each Syslog instance (multiple instances are supported), configure the following:
- Syslog gateway (default: No gateway) - Enter the gateway to use.
- Syslog host - Enter the host name of the Syslog server.
- Port (default: 514) - Specify the port the Syslog server uses.
- Protocol (default: UDP) - Select the Syslog protocol: UDP or TCP. When using UDP, no further configuration is necessary.
- When using TCP, you need to also configure the following:
- Use SSL for connection (default: Unencrypted) - Select Unencrypted or Encrypted.
- When using Encrypted, configure:
- SSL Certificate Verification (default: Unverified) - Select Unverified or Verified. Unverified means that all certificate files will be accepted, including self-signed certificates. Verified means that only CA signed certificates will be accepted.
- Certificate file - Upload the certificate file.
- To configure another Syslog server, click
. Click
to remove a Syslog server.
Sending Query History Events
Use Send query history events to see in your Syslog server who ran which query, when, and for how long. This option is disabled by default.
When you select Send query history events, Axonius sends one event to the Syslog server when each query run ends, whether the run completed, failed, or was canceled. Axonius doesn't send an event while a query run is in progress. Axonius sends the events in the background, so a slow Syslog server doesn't slow down your queries.
Each event includes the following details:
- User - The user who ran the query.
- Status - The result of the run: Completed, Failed, or Canceled.
- Start time, End time, and Duration - When the run started and ended, and how long it took, in seconds.
- Module - The asset type the query ran on.
- Source - Where the query ran from: User Interface, User Interface - Export CSV, API, or API - Export CSV.
- Saved query name - The name of the saved query. For a query that isn't saved, the name is Unsaved Query.
- Query - The text of the query.
- Data scope - The data scope the query ran in.
Axonius doesn't send query runs that ended before you selected this option. Query History keeps the newest 100,000 API runs and the newest 100,000 other runs. This limit applies only to Query History, not to the events that Axonius sends. Your Syslog server keeps the events it receives according to its own settings.
For example, to see in your SIEM which users run queries on devices, enable Use Syslog, select Send query history events, and save the settings. Your SIEM then receives an event each time a query run ends.
To view the same runs in Axonius, see Viewing Query History.
Updated 22 days ago
