...
In summary, Logstash ingests and processes data, Elasticsearch indexes and stores the data, and Kibana provides the interface for visualizing and exploring the data.
...
also, if you are writing an application based on a template, don't forget to replace the application type with the nameJBT already has the required dependencies for Logstash, you just need to configure logback-spring.xml by providing Logstash details such as host and port.
logback-spring.xml path: configuration/src/main/resources/logback-spring.xml
Image Added
fill in <remoteHost/> and <port/> by values based on your running Logstash service.
You could also use <destination> instead of <remoteHost/> and <port/>.
Image Added
Don't forget to change the spring profile name.
Image Added
JBT uses the docker profile just for testing, you should substitute it with a name based on your environment such as local/dev/prod
Example:
Image Added
You can have multiple Logstash configurations but for different profiles.
Example:
Image Added
Also, if you are writing an application based on the JBT, don't forget to replace the "application_type" value with your application name.
Example:
Image Added
{"serverDuration": 91, "requestCorrelationId": "707d0ca55056c432"}