Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 16 additions & 13 deletions content/en/network_monitoring/devices/syslog.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,16 @@ Network Device Monitoring (NDM) uses Syslog to provide visibility into the healt

```yaml
logs:
- type: syslog
- type: udp
port: 514
protocol: udp
source: syslog
service: <service> # optional tag
```

- **`type`**: Set to `udp` or `tcp` based on your device configuration.
- **`port`**: The port the Agent listens on for Syslog messages. Default is 514.
- **`protocol`**: Set to `udp` or `tcp` based on your device configuration.
- **`protocol`**: Should match `type`, set to `udp` or `tcp` based on your device configuration.
- **`source`**: Custom source name for these logs in Datadog. Use `syslog` to correlate with NDM devices.
- **`service`**: Optional service name for unified service tagging.

Expand All @@ -66,7 +67,7 @@ Network Device Monitoring (NDM) uses Syslog to provide visibility into the healt
```yaml
logs_enabled: true # enable logs collection
logs_config:
use_sourcehost_tag: true # adds a source_host tags to logs with the source IP
use_sourcehost_tag: true # adds a source_host tags to logs with the source IP
```

2. Create a Syslog listener configuration:
Expand All @@ -76,14 +77,15 @@ Network Device Monitoring (NDM) uses Syslog to provide visibility into the healt

```yaml
logs:
- type: syslog
- type: udp
port: 514
protocol: udp
source: syslog
service: <service> # optional tag
```
* **`port`**: The port the Agent listens on for Syslog messages. Default is 514.
* **`protocol`**: Set to `udp` or `tcp` based on your device configuration.
- **`type`**: Set to `udp` or `tcp` based on your device configuration.
- **`port`**: The port the Agent listens on for Syslog messages. Default is 514.
- **`protocol`**: Should match `type`, set to `udp` or `tcp` based on your device configuration.
* **`source`**: Custom source name for these logs in Datadog. Use `syslog` to correlate with NDM devices.
* **`service`**: Optional service name for unified service tagging.

Expand All @@ -99,7 +101,7 @@ Network Device Monitoring (NDM) uses Syslog to provide visibility into the healt
```yaml
logs_enabled: true # enable logs collection
logs_config:
use_sourcehost_tag: true # adds a source_host tags to logs with the source IP
use_sourcehost_tag: true # adds a source_host tags to logs with the source IP
```

2. Create a Syslog listener configuration:
Expand All @@ -109,17 +111,18 @@ Network Device Monitoring (NDM) uses Syslog to provide visibility into the healt

```yaml
logs:
- type: syslog
- type: udp
port: 514
protocol: udp
source: syslog
service: <service> # optional tag
```

* **`port`**: The port the Agent listens on for Syslog messages. Default is 514.
* **`protocol`**: Set to `udp` or `tcp` based on your device configuration.
* **`source`**: Custom source name for these logs in Datadog. Use `syslog` to correlate with NDM devices.
* **`service`**: Optional service name for unified service tagging.
- **`type`**: Set to `udp` or `tcp` based on your device configuration.
- **`port`**: The port the Agent listens on for Syslog messages. Default is 514.
- **`protocol`**: Should match `type`, set to `udp` or `tcp` based on your device configuration.
- **`source`**: Custom source name for these logs in Datadog. Use `syslog` to correlate with NDM devices.
- **`service`**: Optional service name for unified service tagging.

3. Restart the [Docker container][101] where the Agent is installed to apply the changes.

Expand Down Expand Up @@ -200,4 +203,4 @@ After your network devices are configured and the Datadog Agent is running, you
[1]: /logs/log_collection/
[2]: /logs/log_configuration/pipelines/
[4]: https://app.datadoghq.com/logs
[5]: https://app.datadoghq.com/devices
[5]: https://app.datadoghq.com/devices