Skip to content
Merged
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
10 changes: 8 additions & 2 deletions website/cue/reference/components/sources/syslog.cue
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,15 @@ components: sources: syslog: {
examples: ["app-name"]
}
}
host: fields._local_host
host: {
description: "Same as `hostname` if that field is set, or the IP address of the peer otherwise."
required: true
type: string: {
examples: ["my.host.com", "127.0.0.1"]
}
}
hostname: {
description: "The hostname extracted from the Syslog line. (`host` is also this value if it exists in the log.)"
description: "The `hostname` field extracted from the Syslog line. If a `hostname` field is found, `host` is also set to this value."
required: true
type: string: {
examples: ["my.host.com"]
Expand Down