A Linux administrator needs to configure a Linux server to send its system logs to a remote log server at the IP address 192.168.150.50. Which configuration line should the administrator add to the rsyslog configuration file to accomplish this task?
The correct answer is *.* @192.168.150.50 because the syntax specifies that logs of all facilities and all severities (*.*) should be forwarded to the remote server at the specified IP address using the UDP protocol (denoted by a single @ sign). Other answers are incorrect because > does not indicate remote logging, multiple @ signs or using # are not valid for specifying a remote log server in rsyslog configuration, and the > is reminiscent of shell redirection which has no context here.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is rsyslog and how does it work?
Open an interactive chat with Bash
What does the syntax ' *.* @192.168.150.50' mean?
Open an interactive chat with Bash
Why is the use of '@' important when configuring rsyslog for remote logging?