Forum Discussion
Audit logging
I've configured an external syslog, and I'm getting the syslog full of messages like this:
Looks like it's due to configsync nofication being active. Audit logging is disabled.
Anyway to get rid of this?
Thanks
- hoolio
Cirrostratus
That looks like audit logging from the admin GUI's httpd. You could create a filter on syslog-ng to not send the audit logs remotely. For 9.4.2 or higher, you can check this article and recent post for details: - smp_86112
Cirrostratus
I was just about to post almost exactly the same message when I came across your post. In my case, I have a customized /etc/alertd/alert.conf to send me email notifications. And when I upgraded to v10, I suddenly started getting these notifications which I wasn't expecting. There is something more happening with alertd that I'd like to understand better.
alert BIGIP_LOG_EMERG "^[0-9]{8}:0: (.*)" {
0 LOG_NOTICE 01070417 BIGIP_MCPD_MCPDERR_AUDIT "AUDIT - user %s - transaction %u-%u - object %u - %s"
So /etc/alertd/alert.conf considers the alert EMER status, while /var/run/bigip_error_maps.dat considers it NOTICE. That is a disconnect that I just can't wrap my head around.
- fmartos_30060
Nimbostratus
We have been able to filter the message on the syslog, but is quite annoying to have this message appearing in the GUI log... Any idea to avoid this message from appear on the GUI log? - jba3126
Cirrostratus
I'm getting similar messages as the one listed above. Is there a way to only send the following messages to a single syslog server? - hoolio
Cirrostratus
Hi Jeff,syslog include " destination d_messages { file("/var/log/messages" create_dirs(yes)); udp(\"10.0.0.1\" port (514)); }; destination d_audit { file("/var/log/audit" create_dirs(yes)); program("/usr/bin/audit_forwarder"); udp(\"10.0.0.1\" port (514)); }; destination d_ltm { file("/var/log/ltm" create_dirs(yes)); udp(\"10.0.0.1\" port (514)); };"
- jba3126
Cirrostratus
Aaron, I recieved several errors. I'm doing my best to review as to why. See if the example below is correct. I made these adjustments based on examples I see in syslog-ng.conf as well as what is provided above.syslog include " destination d_messages { file(\"/var/log/messages\" create_dirs(yes)); udp(\"10.1.32.34\" port (514)); }; destination d_audit { file(\"/var/log/audit\" create_dirs(yes)); program(\"/usr/bin/audit_forwarder\"); udp(\"10.1.32.34\" port (514)); }; destination d_ltm { file(\"/var/log/ltm\" create_dirs(yes)); udp(\"10.1.32.34\" port (514)); };"
- jba3126
Cirrostratus
I loaded the syslog.inc above without errors. With that said this is what i have configured so far -[root@LAB-Practice-LB2:Active] config b syslog include SYSLOG - Include Data: destination d_messages { file("/var/log/messages" create_dirs(yes)); udp("10.1.32.34" port (514)); }; destination d_audit { file("/var/log/audit" create_dirs(yes)); program("/usr/bin/audit_forwarder"); udp("10.1.32.34" port (514)); }; destination d_ltm { file("/var/log/ltm" create_dirs(yes)); udp("10.1.32.34" port (514)); };
- hoolio
Cirrostratus
Which version are you testing this on? - jba3126
Cirrostratus
I was out of pocket with the holiday weekend. I'm working with 9.4.8 HF2 - jba3126
Cirrostratus
I tried this solution ( http://support.f5.com/kb/en-us/solutions/public/9000/400/sol9442.html) provided by F5 for filtering the Config Sync Detect events.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com