Approach to render stack trace in Graylog

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

@shake76
Hello,
I would like to help you out but I dont know the difference between to question ending and you log starting. I would be a great help if you could Format this topic so it easier to read. If you can maybe snapshots on what your seeing on the Web UI. You can find more here.

https://community.graylog.org/t/community-guidelines/6649#format-markdown

If you could explain in greater detail on what you issue is, I’m not quit understanding your problem.

Thanks

Hey @gsmith the first thanks for your reply, I will try to clarify a bit my issue, from the Graylog UI Im seeing the following:

line1 line2 line3 line4 line5

and I need to know if is there any way to render it to show the following:

line1
line2
line3
line4
line5

I hope this will be more clearer for you,

Thanks in Advance

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