sevdokimov / log-viewer

Web UI for viewing logs
Apache License 2.0
434 stars 103 forks source link

Searching pattern from URL #187

Open liork200 opened 1 year ago

liork200 commented 1 year ago

Hello Can we add support for search text and direction from URL. I want to add to url parameter search=my_text and log will be opened and search the token in file I want to add to url parameter search_direction=forward/backward and log will be opened and search the token in file in given direction. forward is default e.g. ?log=mylog.log&search=my_text&search_direction=backward

Another feature I suggest is location when opening file. today when I open file Scroll is set to end of file. I want to add to url parameter scroll=top/bottom

sevdokimov commented 1 year ago

Hello. Good ideas. It would be nice to have these features.