nerdexam
Linux_Foundation

LFCS · Question #458

A remote logging computer with a host name of foobar is being installed on the local network. What line in the system message configuration file will send all system messages to the remote computer?

The correct answer is B. *.* @foobar. To send all system messages to a remote logging computer named 'foobar', the syslog configuration uses . @foobar.

Submitted by alyssa_d· Apr 18, 2026Service Configuration

Question

A remote logging computer with a host name of foobar is being installed on the local network. What line in the system message configuration file will send all system messages to the remote computer?

Options

  • A. foobar. *
  • B. @foobar
  • C*=foobar
  • D
    • .foobar
  • E=foobar

How the community answered

(39 responses)
  • A
    5% (2)
  • B
    90% (35)
  • C
    3% (1)
  • E
    3% (1)

Why each option

To send all system messages to a remote logging computer named 'foobar', the syslog configuration uses `*.* @foobar`.

A*.* foobar. *

`*.* foobar. *` is syntactically incorrect; the remote host destination typically uses the `@` prefix.

B*.* @foobarCorrect

In `syslog` and `rsyslog` configuration files, `*.*` specifies all facilities and all priorities (meaning all messages). The `@` symbol followed by a hostname (e.g., `@foobar`) is the standard syntax for directing these messages to a remote syslog server.

C*=foobar

`* =foobar` is not a valid `syslog` configuration syntax for forwarding messages to a remote host.

D* .foobar

`* .foobar` is syntactically incorrect and does not follow the `syslog` remote forwarding convention.

E=foobar

`=foobar` is not a valid `syslog` configuration entry for forwarding messages.

Concept tested: `syslog`/`rsyslog` remote logging configuration

Source: https://www.man7.org/linux/man-pages/man5/syslog.conf.5.html

Topics

#rsyslog#logging#remote logging#configuration file syntax

Community Discussion

No community discussion yet for this question.

Full LFCS Practice