mthenw/frontail

feature request: select file in GUI from url

bwa opened this issue · 0 comments

bwa commented

If running

/frontail-linux /logsdir1/* /logsdir2/*

I would like to start the web UI with a sepeific file as parameter i.e

http://localhost:9001/?file=/logsdir1/some-logsfile.log

an with options: from is in

http://localhost:9001/?file=/logsdir1/some-logsfile.log&from=0

where 0 means the whole file,
-2000 means the last 2000 lines (and corresponding whatever negative value)
100 means from line 100 ( and corresponding whatever positive value)