Analyze and Store Logs Flashcards

1
Q

What command review recorded log events from one time to another?

A

journal –since <Begin> --until <End></End></Begin>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What command is used to restart the rsyslog?

A

systemctl restart rsyslog

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What command writes a message to a /var/log file using a facility?

A

logger -p <facility> "<string>"</string></facility>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly