Logstash doesn't jump to the next line

Hi everyone, i been a lurker for a while from this community and i've to say thanks for helping me time to time, now i've a problem that can't be solved, ive a jboss with java app running inside of it , the thing is the log as is has a custom line to output to other system but the logstash doesnt recognize after that line the java stack trace , the config is this

input {
beats {
port => 5044
}
stdin {
codec => multiline {
pattern => "^%{TIMESTAMP_ISO8601}"
negate => true
what => "previous"
}
}
}

filter {
grok {
#match => {"message" => "%{TIMESTAMP_ISO8601:fecha} %{CRON_ACTION:loglevel} * [(?[A-Za-z0-9$_.]+)] ((?[^)]*)) %{GREEDYDATA:detail}" }

   match => {"message" => "(?m)%{TIMESTAMP_ISO8601:fecha} %{CRON_ACTION:loglevel} * \[(?<class>[A-Za-z0-9$_.]+)\] \((?<thread>[^)]*)\) (?<detail>(.|\r|\n)*)"}

}
date {
match => [ "fecha", "yyyy-MM-dd HH:mm:ss,SSS" ]
}
}

output {
elasticsearch { hosts => ["172.17.119.24:9200"] }
stdout { codec => rubydebug }
}

as you can see i tried two ways but none of them worked as expected, tried instead of putting the (?m) value in the beginning and still doesn't work , from filebeat i've default config because i only want to parse log from logstash

heres an example of log

2019-10-07 17:50:17,989 ERROR [ar.com.cardif.taskforce.rest.guardarDocumentoSiniestro.service.GuardarDocumentoSiniestroService] (default task-51) Ha ocurrido un error en el servicio de guardar documento siniestro en el guardado de los datos del documento en la BD. <--- the logstash only read until this line
org.springframework.jdbc.UncategorizedSQLException: PreparedStatementCallback; uncategorized SQLException for SQL [INSERT INTO TFD_SERVICES.CLAIM_DOCS(CLAIMID, COVERAGEDOCID, COVERAGEDOCDESC, COVERAGEDOCNAME, COVERAGEDOC) VALUES (?, ?, ?, ?, ?)]; SQL state [72000]; error code [1691]; ORA-01691: unable to extend lob segment TFD_SERVICES.SYS_LOB0000771206C00009$$ by 4096 in tablespace TFD_SERVICES_D
; nested exception is java.sql.SQLException: ORA-01691: unable to extend lob segment TFD_SERVICES.SYS_LOB0000771206C00009$$ by 4096 in tablespace TFD_SERVICES_D

    at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:84)
    at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
    at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
    at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:660)
    at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:909)
    at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:933)
    at org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate.update(NamedParameterJdbcTemplate.java:313)
    at ar.com.cardif.taskforce.rest.guardarDocumentoSiniestro.repository.GuardarDocumentoSiniestroRepository.save(GuardarDocumentoSiniestroRepository.java:71)
    at ar.com.cardif.taskforce.rest.guardarDocumentoSiniestro.service.GuardarDocumentoSiniestroService.save(GuardarDocumentoSiniestroService.java:114)
    at ar.com.cardif.taskforce.rest.guardarDocumentoSiniestro.controller.GuardarDocumentoSiniestroController.POST_v1_scouting_activities(GuardarDocumentoSiniestroController.java:49)
    at sun.reflect.GeneratedMethodAccessor67.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
    at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)
    at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)
    at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:777)
    at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:706)
    at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:943)
    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)
    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
    at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:868)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:706)
    at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:791)
    at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
    at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
    at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
    at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
    at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
    at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
    at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:132)
    at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
    at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
    at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)

anyone has a clue about it ? thanks in advance

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.