Loggingď
Output to Databaseď
The database is the primary location for Sentry logs. It is stored on the appliance, and can be viewed using the Log Viewer page (see below)
âLevelâ: the event level at which logs are recorded.
âAppliance IDâ: the numeric identifier for this appliance. This is relevant for HA appliances, where the database is replicated. In this case, the primary appliance should be 1 and the standby 2.
âLog tidy scheduleâ: the time at which the database is tidied, according to the following settings
âDays to keep logsâ: the number of days to keep the logs. Logs older than this are deleted by the log tidy job
âMaximum # of logs to keepâ: the maximum number of events to keep. If there are more than this, the log tidy job deletes the oldest logs, irrespective of the retention time.
Using the Log Viewerď
The logs can be searched using the fields at the top of the page:
âFilterâ: Set the minimum level for displayed log records: âALLâ, âINFOâ, âWARNâ, âERRORâ and âFATALâ.
âSearch forâ: Enter text to search for. Note that only exact matches are found, and the search is case sensitive. This only applies to the event body, not to any of the context values listed below
âUsernameâ: The name of the user the event relates to
âAgentâ: The Agent creating the event, where relevant
âPeerâ: Events triggered by a specified Peer appliance
âNASâ: For RADIUS events, the NAS triggering the event
âIP Addressâ: The IP address the event was initiated from
âTagâ: custom tag assigned to the event
Between ⌠âandâ: Set the start and end date and time to search for. Clicking on the âselect dateâ link below the date shows a calendar pop-up to select the date.
Additionally, you can specify how many records are shown on the page, and use the Later and âEarlierâ links to show more records.
Finally, the (save) link will retrieve the current data as a text (XML) file.
Output to Syslogď
âLevelâ: Minimum level of logging entries that will be sent to the external syslog server. The levels, in order of increasing severity, are info, warning, error and fatal. Logging to a syslog server may be disabled entirely by selecting Off.
âHostâ: Syslog host to send logging event to.
âPortâ: The TCP port for Syslog logging.
âTCP Protocolâ: If âYesâ, logs are written using TCP. If âNoâ, they use UDP.
âFacilityâ: Syslog facility in which logging events will be sent to on the syslog host.
âFormatâ: The format for the syslog events. Options are Default, Legacy (as used by Sentry 4.0 and earlier), JSON and XML.
âFramingâ: The framing around syslog events. Options are None, PRI Only, RFC 3164 and RFC 5424
âTerminate with new lineâ: If âYesâ, each event is terminated by a newline character.
âSecure Connectionâ: If âYesâ, syslog connections use TLS.
âKeystore Passwordâ: The password for the TLS keystore, if required
âTrust Store Passwordâ: The password for the TLS trust store, if required
Please contact Swivel Secure support for more details on using TLS with syslog.
Output to Email (SMTP)ď
âSend audit create emails forâ: specifies whether audit emails are sent when any user account is created, or only those in a specified group
âFrom email addressâ: Address from which logging event emails will appear to originate.The email will contain the events within the smtp event buffer.
âEmail Triggerâ: The event that will trigger the sending of an error email.
âLogging Levelâ: The level of events to be contained in the smtp event buffer.
âEvent Buffer Sizeâ: The number of events to be stored in teh smtp event buffer.
âErrors Email Addressâ: Email address to which error and fatal logging events should be sent.
âErrors subjectâ: Subject line for error and fatal logging event emails.
âSend User Account Create/Deleteâ: Enable/disable the sending of account creation/deletion events via email. When enabled emails will be sent to the configured address when a user account is created or deleted.
âAccount audit email addressâ: Email address to which account created/deleted events should be sent.
âAccount create subjectâ: Subject line for account creation event emails.
âAccount create message bodyâ: Message for account creation event emails.
âAccount delete subjectâ: Subject line for account deletion event emails.
âAccount delete message bodyâ: Message for account deletion event emails.
âSend User Authenticatedâ: It is possible to send an email to an admin address every time a user authenticates
âLocale for authentication messageâ: In certain circumstance the locale may need to be specified to support non-standard characters
âTime offset for authentication messageâ: Allows to specify the time offset for the message to allow for the fact that the users may be in a different timezone to the Swivel server.
âAuthenticated email addressâ: The address to send messages relating to account authenticated
âAuthenticated message subjectâ: Subject line for authentication event emails.
âAuthenticated message bodyâ: Message for authentication event emails.
âSend account locksâ: Enable/disable the sending of account locked events via email. When enabled emails will be sent to the configured address when a user account becomes locked.
âAccount locks email addressâ: Email address to which account locked events should be sent.
âAccount locked subjectâ: Subject line for account locked event emails.
âAccount locked messageâ: Email body for account locked event emails.
âAccount unlocked subjectâ: Subject line for account unlocked event emails.
âAccount unlocked messageâ: Email body for account unlocked event emails.
XML Loggingď
NOTE: Version 4.3 no longer writes logs to XML files. The database is the main source for logs, and has been since version 4.1.