[GH-ISSUE #48] Select file to tail from frontend? #30

Closed
opened 2026-03-03 16:03:49 +03:00 by kerem · 10 comments
Owner

Originally created by @jamesmr89 on GitHub (Apr 28, 2015).
Original GitHub issue: https://github.com/mthenw/frontail/issues/48

Would it be possible to change the file being watched from the front end?

IE I have a drive with hundreds of logfiles that are constantly being written to and new ones created constantly. I'd like to be able to feed an argument when landing on frontail page to select the file to be tailed:

http://localhost:9001/mydir/myfile.log

Would that be possible, without spawning a new instance of frontail for each file to be watched?

Thanks,
james

Originally created by @jamesmr89 on GitHub (Apr 28, 2015). Original GitHub issue: https://github.com/mthenw/frontail/issues/48 Would it be possible to change the file being watched from the front end? IE I have a drive with hundreds of logfiles that are constantly being written to and new ones created constantly. I'd like to be able to feed an argument when landing on frontail page to select the file to be tailed: http://localhost:9001/mydir/myfile.log Would that be possible, without spawning a new instance of frontail for each file to be watched? Thanks, james
kerem 2026-03-03 16:03:49 +03:00
Author
Owner

@mikeatlas commented on GitHub (Jun 9, 2015):

👍 nice idea

<!-- gh-comment-id:110496196 --> @mikeatlas commented on GitHub (Jun 9, 2015): :+1: nice idea
Author
Owner

@matteocontrini commented on GitHub (Jul 5, 2015):

Definitely 👍 on this

<!-- gh-comment-id:118637103 --> @matteocontrini commented on GitHub (Jul 5, 2015): Definitely :+1: on this
Author
Owner

@mikeatlas commented on GitHub (Jul 6, 2015):

You'd probably want some kind of wildcard/regex option on the startup command line options for which ones are whitelist-safe to browse from the frontend.

<!-- gh-comment-id:118871804 --> @mikeatlas commented on GitHub (Jul 6, 2015): You'd probably want some kind of wildcard/regex option on the startup command line options for which ones are whitelist-safe to browse from the frontend.
Author
Owner

@jamesmr89 commented on GitHub (Jul 6, 2015):

@mikeatlas

on the whitelist regex idea.

<!-- gh-comment-id:118927619 --> @jamesmr89 commented on GitHub (Jul 6, 2015): @mikeatlas ![](https://assets-cdn.github.com/images/icons/emoji/unicode/1f44d.png) on the whitelist regex idea.
Author
Owner

@mthenw commented on GitHub (Jul 6, 2015):

Looks like the most requested feature, haha. I will be off for next two weeks but after that I will try to do something with that.

Still, thanks for reminding.

<!-- gh-comment-id:118934275 --> @mthenw commented on GitHub (Jul 6, 2015): Looks like the most requested feature, haha. I will be off for next two weeks but after that I will try to do something with that. Still, thanks for reminding.
Author
Owner

@codeskyblue commented on GitHub (Jul 20, 2015):

really want it.

<!-- gh-comment-id:122773103 --> @codeskyblue commented on GitHub (Jul 20, 2015): really want it.
Author
Owner

@jamesmr89 commented on GitHub (Sep 10, 2015):

Hi @mthenw, just wanted to see if you had any idea on a time frame on this?

Thanks,
~

<!-- gh-comment-id:139373098 --> @jamesmr89 commented on GitHub (Sep 10, 2015): Hi @mthenw, just wanted to see if you had any idea on a time frame on this? Thanks, ~
Author
Owner

@mthenw commented on GitHub (Sep 16, 2015):

@jamesmr89 TBH, I completely don't have time right now to do that. Also, the truth is that I don't feel that this feature should be in frontail. It supposed to be very simple tool. With this feature it become to remote file explorer. Not sure if this is a common knowledge but you can use * in a file path e.g. frontail /var/log/system*.

I will leave this issue open for discussion but I'm not planning to implement this right now.

<!-- gh-comment-id:140908804 --> @mthenw commented on GitHub (Sep 16, 2015): @jamesmr89 TBH, I completely don't have time right now to do that. Also, the truth is that I don't feel that this feature should be in frontail. It supposed to be very simple tool. With this feature it become to remote file explorer. Not sure if this is a common knowledge but you can use `*` in a file path e.g. `frontail /var/log/system*`. I will leave this issue open for discussion but I'm not planning to implement this right now.
Author
Owner

@matteocontrini commented on GitHub (Sep 17, 2015):

You could add something about the * in the readme, at least

<!-- gh-comment-id:140969455 --> @matteocontrini commented on GitHub (Sep 17, 2015): You could add something about the `*` in the readme, at least
Author
Owner

@mthenw commented on GitHub (Sep 17, 2015):

@matteocontrini good point :) github.com/mthenw/frontail@3df000920c

<!-- gh-comment-id:140998544 --> @mthenw commented on GitHub (Sep 17, 2015): @matteocontrini good point :) https://github.com/mthenw/frontail/commit/3df000920cfccb3b88923aba94e67b5c10d25950
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#30
No description provided.