Displaying Logs with Break Lines in UI
TLDR Einav raises issue regarding logs displaying as a single line in the UI. Ankit suggests raising an issue on GitHub for an easy fix.
1
Mar 07, 2023 (9 months ago)
Einav
02:39 PMCurrently the ui is showing a log that has break lines (\n) in one long line. is it possible to make it display multiple lines?
example
log body:
"[2023/03/07 14:33:35] [ info] inotify_fs_add(): inode=1537505 watch_fd=195 name=/var/log/containers/signoz-k8s-infra-otel-agent-57dls_logging_signoz-k8s-infra-otel-agent-dd4175ac2a39f9d058c056402bab1e7ec01b7f9f0b8dc3e5c68403724ff89b2f.log\n File \"/usr/local/lib/python3.10/site-packages/flask/ctx.py\", line 350, in match_request\n result = self.url_adapter.match(return_rule=True)\n File \"/usr/local/lib/python3.10/site-packages/werkzeug/routing.py\", line 2041, in match\n raise NotFound()"
log in ui:
Ankit
02:42 PMSigNoz Community
Indexed 1023 threads (61% resolved)
Similar Threads
SigNoz Production Feedback and Improvement Suggestions
Users shared their SigNoz experiences and feedback. Issues mentioned include memory consumption, UI/UX improvements, connection difficulties, and automation limitations.
Troubleshooting and Adding Log Files to SigNoz POC
Noor has requested help with incorporating log files into their SigNoz POC. In collaboration with vishal-signoz and nitya-signoz, they managed to successfully setup and resolve their issues.
Extracting Custom Fields as Attributes from Log in SigNoz
Harald wants to have custom fields from their body parsed as attributes in the SigNoz logger. They have tried implementing suggestions from nitya-signoz and Prashant, but the issue remains unsolved due to a potential race condition encountered while executing the code. They have provided a full example using Kind for further assistance.