Skip to content
CCPEDIAby Unity Nodes
App Development

Canton Logs to Splunk

4 posts297 views4 likesLast activity Aug 2022

  1. alf3256OP

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

  2. Meriam_Lachkar 1

    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

  3. 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.

  4. Meriam_Lachkar 3

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