Hi there,
I just need to know if is there any approach to render stack trace in Graylog, in the Graylog UI im seeing the following:
com.example.auth.sql.SQLAccountAPI.saveAccount(SQLAccountAPI.scala:375)\n\tat com.example.beta.app.util.users.UserRegistration$.createStandAloneUser(UserRegistration.scala:145)\n\tat com.example.beta.app.util.users.UserRegistration$.$anonfun$createStandAloneUserIfNotExists$1(UserRegistration.scala:113)\n\tat scala.Option.fold(Option.scala:251)\n\tat com.example.beta.app.util.users.UserRegistration$.createStandAloneUserIfNotExists(UserRegistration.scala:114)\n\tat com.example.beta.app.util.users.UserRegistration$.$anonfun$process$4(UserRegistration.scala:57)\n\tat scala.collection.immutable.List.map(List.scala:286)\n\tat com.example.beta.app.util.users.UserRegistration$.process(UserRegistration.scala:56)\n\tat com.example.beta.app.rest.ReportingExternalDashboardsPlan$.$anonfun$invite$3(ReportingExternalDashboardsPlan.scala:1145)\n\tat com.example.beta.app.rest.ReportingExternalDashboardsPlan$.writeAccessGuard(ReportingExternalDashboardsPlan.scala:303)\n\tat com.example.beta.app.rest.ReportingExternalDashboardsPlan$.$anonfun$invite$2(ReportingExternalDashboardsPlan.scala:1132)\n\tat scala.Option.fold(Option.scala:251)\n\tat com.example.beta.app.rest.ReportingExternalDashboardsPlan$.com$example$beta$app$rest$ReportingExternalDashboardsPlan$$invite(ReportingExternalDashboardsPlan.scala:1130)\n\tat com.example.beta.app.rest.ReportingExternalDashboardsPlan$$anonfun$intent$1.$anonfun$applyOrElse$4(ReportingExternalDashboardsPlan.scala:353)\n\tat com.example.beta.app.rest.PlanSecurity.$anonfun$secure$1(BasePlan.scala:538)\n\tat com.example.beta.app.rest.PlanSecurity.authenticated(BasePlan.scala:515)\n\tat
I was able to replace with a regular expression t “\n\tat” string but I need to replace it with a new line, I need to see something like this for stack_trace field in Graylog UI:
com.example.auth.sql.SQLAccountAPI.saveAccount(SQLAccountAPI.scala:375)
com.example.beta.app.util.users.UserRegistration$.createStandAloneUser(UserRegistration.scala:145)
com.example.beta.app.util.users.UserRegistration$.$anonfun$createStandAloneUserIfNotExists$1(UserRegistration.scala:113)\n\tat scala.Option.fold(Option.scala:251) com.example.beta.app.util.users.UserRegistration$.createStandAloneUserIfNotExists(UserRegistration.scala:114)
com.example.beta.app.util.users.UserRegistration$.$anonfun$process$4(UserRegistration.scala:57)
scala.collection.immutable.List.map(List.scala:286)
com.example.beta.app.util.users.UserRegistration$.process(UserRegistration.scala:56)
com.example.beta.app.rest.ReportingExternalDashboardsPlan$.$anonfun$invite$3(ReportingExternalDashboardsPlan.scala:1145)
com.example.beta.app.rest.ReportingExternalDashboardsPlan$.writeAccessGuard(ReportingExternalDashboardsPlan.scala:303)
com.example.beta.app.rest.ReportingExternalDashboardsPlan$.$anonfun$invite$2(ReportingExternalDashboardsPlan.scala:1132)
I will appreciate in advance your inputs on this