# Approach to render stack trace in Graylog

**URL:** <https://community.graylog.org/t/approach-to-render-stack-trace-in-graylog/19989>\
**Category:** Graylog Central (peer support)\
**Created:** [May 27, 2021, 1:16pm UTC](https://community.graylog.org/t/approach-to-render-stack-trace-in-graylog/19989 "2021-05-27T13:16:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shake76](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/shake76/32/8758_2.png) [@shake76](https://community.graylog.org/u/shake76)\
**Post date:** [May 27, 2021, 1:16pm UTC](https://community.graylog.org/t/approach-to-render-stack-trace-in-graylog/19989/1 "2021-05-27T13:16:02Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![gsmith](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/gsmith/32/1222_2.png) [@gsmith](https://community.graylog.org/u/gsmith)\
**Post date:** [May 29, 2021, 5:21am UTC](https://community.graylog.org/t/approach-to-render-stack-trace-in-graylog/19989/2 "2021-05-29T05:21:06Z")

</div>

@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](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

---

<div class="post-metadata">

**Author:** ![shake76](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/shake76/32/8758_2.png) [@shake76](https://community.graylog.org/u/shake76)\
**Post date:** [June 1, 2021, 12:11pm UTC](https://community.graylog.org/t/approach-to-render-stack-trace-in-graylog/19989/3 "2021-06-01T12:11:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [June 15, 2021, 12:12pm UTC](https://community.graylog.org/t/approach-to-render-stack-trace-in-graylog/19989/4 "2021-06-15T12:12:07Z")

</div>

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