LX0-104 · Question #222
Which syslog configuration line will send out logged messages to a remote syslog server?
The correct answer is C. *.* @remotehost. To send all logged messages to a remote syslog server, the correct configuration syntax uses the at-sign '@' followed by the remote host's identifier.
Question
Options
- A. host:remotehost
- B. remote remotehost
- C. @remotehost
- D. host=remotehost
How the community answered
(64 responses)- A3% (2)
- C95% (61)
- D2% (1)
Why each option
To send all logged messages to a remote syslog server, the correct configuration syntax uses the at-sign '@' followed by the remote host's identifier.
`host:remotehost` is not the correct syntax for directing syslog messages to a remote server.
`remote remotehost` is not the correct syntax for directing syslog messages to a remote server.
The syntax `*.* @remotehost` instructs syslog to send all messages, regardless of facility or priority, to the remote host specified by 'remotehost' via UDP.
`host=remotehost` is not the correct syntax for directing syslog messages to a remote server.
Concept tested: Syslog remote logging configuration
Source: https://www.rsyslog.com/doc/v8-stable/tutorials/remote_syslog.html
Topics
Community Discussion
No community discussion yet for this question.