I'm new to the ELK stack, I'm trying to send the logs of a web application in springboot to logstash.
This is the stream log I send:
{"@timestamp":"2022-08-24T17:25:09.346-05:00","@version":"1","
message":"Starting *****Application using Java 1.8.0_275 on DESKTOP-******* with PID 2****2 ()","logger_name":"********",
"thread_name":"main","level":"INFO","level_value":20000,"project-name":"test","jvm_system_variable":"OpenJDK Runtime Environment "}```
in the discover panel I get something like this:
@timestamp:Aug 25, 2022 @ 10:15:07.214 @version:1 host:111.28.1.1
message:{"@timestamp":"2022-08-25T10:15:33.384-05:00","@version":"1","message":"SELECT * FROM ----- WHERE ------ = ? AND ----- = ?",
"logger_name":"org.hibernate.SQL","thread_name":"http-------","level":"DEBUG","level_value":10000,"project-name":"test",
"jvm_system_variable":"OpenJDK Runtime Environment 11.0.12+7-LTS"} port:----- _id:wL-------a-4 _index:logstash-2022.08.19-000001 _score:1 _type:_doc
I just want to have the message field as the whole log, how can I achieve this?