sivasamyk / logtrail

Kibana plugin to view, search & live tail log events
MIT License
1.4k stars 185 forks source link

Collapse/expand log if too much lines #342

Open dqduc opened 5 years ago

dqduc commented 5 years ago

Hello,

Thanks for creating logtrail, is great and useful.

Just an enhancement if possible: sometime we have logs with lot of lines in a single message and it just occupy whole viewport. So would be good if we can have a feature to show max of 3~5 lines per message, then can expand it if needed

jacinchan commented 5 years ago

this would be useful for me too. I config filebeat to join multi-line for java stacktrace, or some api resonse sometimes there are so many multi-line log, and make my chrome relly stuck, even worse the page just crash

jemijin commented 5 years ago

It is possible to use css temporarily like below.

` .message { width: 1500px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }

.message:hover { overflow: visible; white-space: normal; } `