- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
01-10-2020 11:54 AM - last edited on 04-18-2024 12:33 PM by emgarcia
Hi everybody,
we are quite often have a problem with logging to Data Lake.
Mostly Data Lake certificate expires and is not being renew automatically, so logs are not being forwarded to Data Lake and XDR doesn't have info.
Is there a way, how to monitor certificate status, or dropped logs counters using snmp? (it is drop counter in command debug log-receiver rawlog_fwd_trial stats global show). Or any other way, for example raising an alarm etc.
Thank you,
Jan
01-13-2020 07:36 AM
Hi @Jan_Linhart ,
There's only a limited set op counters that you can monitor with SNMP ... I don't think that the cert is part of it but it's worth a look :
Do you see anything in the system logs about the expired certificate ? If so you could create a mail alert based on those logs.
Cheers,
-Kiwi.
01-14-2020 11:22 AM
Hi @kiwi ,
there are two ways, how to find out, that logs are not being sent to data lake (from the FW perspective)
1) check increasing drop counter for log forwarding (mentioned debug command)
2) check the reason - usualy expired certificate
There is no SNMP counter or log for the first one, so you have to do it manualy. You also cannot use API operational command call, because drop info is in debug command and there is no support for debug commands in API.
As a workaround, I've configured API call for certificate status (request logging-service certificate info) and than I parse XML output and look for string specific string. It is cumbersome, but better than nothing. Hope, that Data Lake monitoring will be added any time soon.
Thank you,
Jan
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!