Icinga / icingaweb2-module-audit

GNU General Public License v2.0
11 stars 8 forks source link

Exclude log messages based on configurable filter #24

Closed btrnka63 closed 2 months ago

btrnka63 commented 2 months ago

Hello, I'd like to request enhancement of the module to provide the possibility to exclude certain user's activities (like "actions/reschedule-check" as having tons of it in the log).

I manage it temporary locally by adding following codes:

I hope it helps to understand the intention.

nilmerg commented 2 months ago

Hey,

my first question is, why do you have tons of these messages in the first place? I presume this is due some automatism, so isn't it more viable to exclude all activity of a certain user?

btrnka63 commented 2 months ago

Hi, no, no automatism in this case ... just having huge landscape (30k+ servers) and a lot impatient users. Nevertheless, some activities (like "Check now") are not interesting for audit.

E.g., we activated the audit module to track who set/removed downtime, add/removed comment, acknowledgement, etc. Yes, "ADD" is visible also within the standard history, but there is no info about removal of DT, ACK or comment ... for this the Audit module is helpful.

nilmerg commented 2 months ago

I see, thanks

nilmerg commented 2 months ago

Oh, just saw #6 and #7

nilmerg commented 2 months ago

Duplicate of #6