Logs Flashcards

1
Q

Log que almacena la mayoría de los

Mensajes de syslog

A

/var/log/messages

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

Log de mensajes de

Seguridad y operaciones de autenticación

A

/var/log/secure

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

Cual servicio

Organiza los mensajes en /var/log

A

rsyslog

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

Que log muestra syslog para humanos

A

/var/log

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

Log de mail

A

/var/log/maillog

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

Log de cron

A

/var/log/cron

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

Donde se modifica la ruta de los logs

A

/etc/rsyslog.conf

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

Como se

Configuran las cadenas custom

A

cadena.* /var/log/secure

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

Como
Se
Envían mensajes Customer al logger

A

logger -p local7.notice “Log de prueba”

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

Como se busca un PID en el Journal

A

journalctl _PID=1

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

Como se busca por

UID
Warning
Tiempo desde hasta
System unit

A

journalctl _UID=81

journalctl -p warning

journalctl –since “-10min”

journalctl –since 9:00:00 _SYSTEMD_UNIT=”sshd.service”

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

Donde está el archivo de journal

A

/var/log/journal

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

Configurar permanente journal

A

vi /etc/systemd/journal.conf

persistent

volatile
auto

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