How does CloudWatch Logs agent filter auth.log logs and upload them to CloudWatch?

0

I only need the auth.log log in Ubuntu to have log information about failed logins. Can the CloudWatch Logs agent filter relevant logs instead of uploading all logs to cloudwatch? For example: Only upload logs containing Failed password and Failed publickey in auth.log

DD-Boom
gefragt vor 5 Monaten204 Aufrufe
1 Antwort
0
AWS
weidi
beantwortet vor 5 Monaten
profile picture
EXPERTE
überprüft vor 5 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen