Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Canton Logs to SplunkForum ↗

Canton Logs to Splunk

App Development4 posts270 views4 likesLast activity Aug 2022
AL
alf3256OP
Aug 2022

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

ME
Meriam_Lachkar
Aug 2022

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

AL
alf3256
Aug 2022

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.

ME
Meriam_Lachkar
Aug 2022

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

← Back to Discussions