---
title: "Monitoring through Syslog"
canonical: "https://docs.infoblox.com/space/nios90/280275770/Monitoring%20through%20Syslog"
format: markdown
---
To receive DNS infrastructure protection events in the syslog, you must enable the Security option in the DNS logging category of the Grid DNS Properties editor. For information about configuring the logging category as described in <span style="color: #003300">Setting DNS Logging Categories</span>, see [*<span style="color: #0000FF">Using a Syslog Server</span>*](https://infoblox-docs.atlassian.net/wiki/spaces/nios90/pages/280403148). Once the Security option is enabled, hardware-based appliances log each DNS infrastructure protection related event in the syslog in CEF (Common Even Format). You can get detailed information about the events by reviewing the syslog periodically. For information about how to configure the syslog server, see [*<span style="color: #0000FF">Using a Syslog Server</span>*](https://infoblox-docs.atlassian.net/wiki/spaces/nios90/pages/280403148).  
When a DNS attack is detected against an enabled rule, the appliance generates a log message. Note that only DNS infrastructure protection messages in CEF are displayed in the syslog. The log messages for rate limiting alert events also include the FQDNs extracted from DNS queries whose standard query and question count is greater than zero so you can quickly identify the offending clients. Note that the FQDN field displays “NA” for invalid DNS queries. This feature is enabled by default. 

Example:

When the appliance detects ICMP ping attacks that exceed the pint size against an existing auto rule that has the following configuration:

Log Severity = Critical  
Rule ID = 120600925  
Rule Name = Potential DDoS related domain  
Rule Action = Drop  
Rule Category = Potential DDoS related Domains

It generates the following threat detection event log message:

`2018-04-20T09:43:21+00:00 daemon `<span style="color: #3e3f40">infoblox</span>`.`<span style="color: #3e3f40">localdomain</span>` named[14792]: info CEF:0|Infoblox|NIOS|8.3.0-369415|RPZ-QNAME|Local-Data|7|app=DNS dst=10.34.173.11 src=10.120.20.28 spt=52240 view=_default qtype=A msg="`<span style="color: #3e3f40">rpz</span>` QNAME Local-Data rewrite a_rec [A] via a_rec.local.com" IPSD=N/A Acct-Session-Id=8333332d-11111111 Parental-Control-Policy=010000000033 Calling-Station-Id=1101202041 NAS-PORT=1813 Subscriber-Secure-Policy=00000fff Guest=1 LocalID=000C2987FEEE CAT=RPZ`

<span style="color: #3e3f40">The number of log messages generated is based upon your Event per Second per Rule setting. For example, if the setting is 5, the appliance generates five log messages of the same event per second when the attack continues within the time duration. Each log message contains the following information:</span>

- <span style="color: #3e3f40">The timestamp when the event happened in yyyy-mm-ddThh:mm:ss+00:00 format.</span>
- **<span style="color: #3e3f40">Infoblox|NIOS</span>****<span style="color: #3e3f40">|x.x.x</span>**<span style="color: #3e3f40">: Indicates the Infoblox product, and x.x.x represents the NIOS version.</span>
- <span style="color: #3e3f40">The string following the NIOS version is a hard-coded constant. In this example, it is RPZ QNAME.</span>
- <span style="color: #3e3f40">The number following the rule ID is the log severity. The following numbers indicate the severity levels:</span>
  - **<span style="color: #3e3f40">8</span>**<span style="color: #3e3f40"> = </span>**<span style="color: #3e3f40">Critical</span>**
  - **<span style="color: #3e3f40">7</span>**<span style="color: #3e3f40"> = </span>**<span style="color: #3e3f40">Major</span>**
  - **<span style="color: #3e3f40">6</span>**<span style="color: #3e3f40"> = </span>**<span style="color: #3e3f40">Warning</span>**
  - **<span style="color: #3e3f40">4</span>**<span style="color: #3e3f40"> = </span>**<span style="color: #3e3f40">Informational</span>**
- **<span style="color: #3e3f40">app</span>**<span style="color: #3e3f40">: DNS.</span>
- **<span style="color: #3e3f40">dst</span>**<span style="color: #3e3f40">: Destination IP address.</span>
- **<span style="color: #3e3f40">src</span>**<span style="color: #3e3f40">: Source IP address.</span>
- **<span style="color: #3e3f40">spt</span>**<span style="color: #3e3f40">: Source port.</span>
- **<span style="color: #3e3f40">view</span>**<span style="color: #3e3f40">: DNS view.</span>
- **<span style="color: #3e3f40">qtype</span>**<span style="color: #3e3f40">: Query type.</span>
- **<span style="color: #3e3f40">msg</span>**<span style="color: #3e3f40">: RPZ rule.</span>
- **<span style="color: #3e3f40">IPSD</span>**<span style="color: #3e3f40">: IP space discriminator.</span>
- **<span style="color: #3e3f40">Acct-Session-Id</span>**<span style="color: #3e3f40">: Session ID.</span>
- **<span style="color: #3e3f40">Parental-Control-Policy</span>**<span style="color: #3e3f40">: Parental Control Policy.</span>
- **<span style="color: #3e3f40">Calling-Station-Id</span>**<span style="color: #3e3f40">: Subscriber ID.</span>
- **<span style="color: #3e3f40">NAS-PORT</span>**<span style="color: #3e3f40">: NAS Port.</span>
- **<span style="color: #3e3f40">Subscriber-Secure-Policy</span>**<span style="color: #3e3f40">: Subscriber Secure Policy.</span>
- **<span style="color: #3e3f40">Guest</span>**<span style="color: #3e3f40">: Guest indicator. For fixed line or home router deployments, a guest indicator value '1' indicates guest device and '0' indicates subscriber device.</span>
- **<span style="color: #3e3f40">LocalID</span>**<span style="color: #3e3f40">: MAC address of the subscriber device. For fixed line or home router deployments, if the guest indicator value in the </span>**<span style="color: #3e3f40">Guest</span>**<span style="color: #3e3f40"> field displays '1' then the </span>**<span style="color: #3e3f40">Local ID</span>**<span style="color: #3e3f40"> field displays the MAC address of the guest device.</span>
- **<span style="color: #3e3f40">CAT</span>**<span style="color: #3e3f40">: The category to which the rule belongs. In this example, the category is "</span>**<span style="color: #3e3f40">RPZ</span>**<span style="color: #3e3f40">." </span>

<span style="color: #3e3f40">To view DNS infrastructure protection related log messag</span>es:

1. From the **Administration** tab, select the **Logs** tab -> **Syslog** tab.
2. From the drop-down list at the upper right corner, select the Grid member on which you want to view the syslog.
3. From the Quick Filter drop-down list, select **Threat** **Rule** **Update** **Events** or **Threat** **Detection** **Event** **Logs** to view rule update events or threat detection events respectively. To narrow down the system messages you want to view, click Show Filter and then select the filters you want to use. For information about how to use filters, see [*<span style="color: #0000FF">Using Filters</span>*](https://infoblox-docs.atlassian.net/wiki/spaces/nios90/pages/280401588).