Error stacktrace not showing on the linux server

I've installed kibana,elasticsearch and logstash version 7.9.2 on the linux server.
In local windows machine it working fine and showing error stracktrace of message.
but over the linux it's not showing error stracktrace.

2020-10-15 17:21:48.9250 [23758] ERROR FinanceAPI.Controllers.TransactionController 1dfae3d2-258d-42d4-802e-c39a751574e3 49.34.35.173 Invalid category subGroup. 
2020-10-15 17:21:48.9250 [23758] ERROR FinanceAPI.Controllers.TransactionController 1dfae3d2-258d-42d4-802e-c39a751574e3 49.34.35.173 Invalid category subGroup. 
2020-10-15 17:21:48.9390 [23758] ERROR Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware 1dfae3d2-258d-42d4-802e-c39a751574e3 49.34.35.173 An unhandled exception has occurred while executing the request.