Search code examples
logstashlogbackspring-cloud-streamspring-cloud-dataflowspring-cloud-config

How to use ELK with SCDF stream applications?


In our company, we use ELK stack for logging through Spring Cloud Config and logback.
I would like to use ELK with SCDF too.

For our own applications, we can add the logstash-logback-encoder dependency to make it work.
But with standard stream applications which do not include this dependency, I have an exception because LogstashTcpSocketAppender is not defined ?

Is there a way to use ELK with stream applications like time-source or log-sink in ticktock stream for example ?


Solution

  • I think the best option is to clone the repository, add the dependency and generate the applications on your own since it is considered as customization. Please let us know if you need help with generating the apps.