Canton Logs to Splunk
- alf3256OP
Hi,
Is there a way to send Canton logs to Splunk? - Meriam_Lachkar 1
Hello,
Canton uses Logback as the logging library. All Canton logs derive from the loggercom.digitalasset.canton. By default, Canton will write a log to the filelog/canton.logusing theINFOlog-level and will also log WARN and ERROR to stdout. You can find more about it here.I am not familiar with Splunk, but I guess there is some documentation on Splunk on how to read a local log file and send it to Spunk server.
Is that answer your question ?
Thanks - alf3256
Thanks. It helps. If I understand this correctly, the log file needs to be sent to splunk somehow. I guess this configuration will be coming from Splunk’s end.
- Meriam_Lachkar 3
Yes exactly. Or some splunk listener needs to be installed on the same machine and reading the log file.