[
https://issues.jboss.org/browse/TEIIDSB-40?page=com.atlassian.jira.plugin...
]
Steven Hawkins commented on TEIIDSB-40:
---------------------------------------
See
https://github.com/shawkins/teiid-openshift-examples/commit/a3e6b695d16e2...
To use logstash json formatting to just the console log needs an encoding jar dependency
and a logback-spring.xml configuration file. There are options to have logback send
messages to logstash, but in theory fluentd will be responsible for that.
[~rareddy] You can entertain separating this into it's own demo, but until we have
this working end-to-end with kibana it won't be very interesting.
define logging options
----------------------
Key: TEIIDSB-40
URL:
https://issues.jboss.org/browse/TEIIDSB-40
Project: Teiid Spring Boot
Issue Type: Sub-task
Components: OpenShift
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Priority: Major
Fix For: 1.0.3
It looks like the preferred mechanism with spring boot is to use:
https://github.com/logstash/logstash-logback-encoder
This should make it easier for the aggregate container logging to use the container logs.
I'll validate this and update the example appropriately - which we could create a
parallel to prometheus for the logging stack / kibana.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)