Canton Logs to Splunk

Hi,
Is there a way to send Canton logs to Splunk?

Hello,
Canton uses Logback as the logging library. All Canton logs derive from the logger com.digitalasset.canton . By default, Canton will write a log to the file log/canton.log using the INFO log-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

1 Like

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.

Yes exactly. Or some splunk listener needs to be installed on the same machine and reading the log file.

3 Likes