Skip to content

Syslog Policy

A Syslog Policy configures local and remote syslog logging on UCS servers and IMC endpoints, controlling the minimum severity level for local file logging and forwarding log messages to up to two remote syslog servers.

Location in Intersight GUI: Policies » Syslog

Diagram

policies (compute.intersight.organizations)

Section titled “policies (compute.intersight.organizations)”
NameTypeConstraintMandatoryDefault Value
syslogList[syslog]No

syslog (compute.intersight.organizations.policies)

Section titled “syslog (compute.intersight.organizations.policies)”
NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
descriptionStringNo
managedBooleantrue, falseNotrue
tagsList[tags]No
local_min_severityChoicewarning, emergency, alert, critical, error, notice, informational, debugNowarning
remote_clientsList[remote_clients]No

tags (compute.intersight.organizations.policies.syslog)

Section titled “tags (compute.intersight.organizations.policies.syslog)”
NameTypeConstraintMandatoryDefault Value
keyStringYes
valueStringYes

remote_clients (compute.intersight.organizations.policies.syslog)

Section titled “remote_clients (compute.intersight.organizations.policies.syslog)”
NameTypeConstraintMandatoryDefault Value
hostnameStringYes
enabledBooleantrue, falseNo
portIntegermin: 1, max: 65535No
protocolChoiceudp, tcpNo
min_severityChoicewarning, emergency, alert, critical, error, notice, informational, debugNo

Example-1: Configure a syslog policy with local warning-level logging only.

compute:
intersight:
organizations:
- name: MyOrg
policies:
syslog:
- name: MySyslogPolicy
local_min_severity: warning
tags:
- key: env
value: prod

Example-2: Configure a syslog policy that forwards critical events to a remote syslog server.

compute:
intersight:
organizations:
- name: MyOrg
policies:
syslog:
- name: MySyslogPolicy
local_min_severity: warning
remote_clients:
- hostname: 10.0.0.200
port: 514
protocol: udp
min_severity: critical

Example-3: Configure a syslog policy with two remote syslog destinations at different severity thresholds.

compute:
intersight:
organizations:
- name: MyOrg
policies:
syslog:
- name: MySyslogPolicy
local_min_severity: informational
remote_clients:
- hostname: syslog-primary.example.com
port: 514
protocol: udp
min_severity: warning
- hostname: syslog-secondary.example.com
port: 6514
protocol: tcp
min_severity: error
enabled: false