[GH-ISSUE #211] feature request: select file in GUI from url #141

Open
opened 2026-03-03 16:04:44 +03:00 by kerem · 0 comments
Owner

Originally created by @bwa on GitHub (May 23, 2020).
Original GitHub issue: https://github.com/mthenw/frontail/issues/211

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)

Originally created by @bwa on GitHub (May 23, 2020). Original GitHub issue: https://github.com/mthenw/frontail/issues/211 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)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/frontail#141
No description provided.