[GH-ISSUE #868] View nginx log message based on specific file #4888

Closed
opened 2026-03-01 15:37:01 +03:00 by kerem · 1 comment
Owner

Originally created by @atompsv on GitHub (Feb 18, 2025).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/868

** Is your feature request related to a problem? Please describe. **
I would like the ability to read logs by specifying a particular log file. Currently, there is no straightforward way to dynamically select a specific log file for reading.

The log files are typically located in /var/log/nginx/, and having an efficient method to choose and read a specific file would greatly improve usability. Additionally, it would be helpful to have the option to:

  • View only the last N lines of a log file (e.g., the last 10 lines).
  • Follow the log in real time (similar to tail -f).
  • Search within logs using keywords, similar to the grep command in Linux, to filter relevant log entries.

** Describe the solution you'd like **
It would be beneficial to have:

  • A command or option to specify the exact log file to read.
  • A way to view only the last N lines of a selected log file (e.g., tail -n 10 /var/log/nginx/access.log).
  • An option to follow logs in real-time (like tail -f), but with the ability to start by showing a specific number of lines.
  • A search/filter function to find specific log entries, similar to how grep works in Linux (grep "error" /var/log/nginx/access.log).
Originally created by @atompsv on GitHub (Feb 18, 2025). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/868 ** Is your feature request related to a problem? Please describe. ** I would like the ability to read logs by specifying a particular log file. Currently, there is no straightforward way to dynamically select a specific log file for reading. The log files are typically located in /var/log/nginx/, and having an efficient method to choose and read a specific file would greatly improve usability. Additionally, it would be helpful to have the option to: - View only the last N lines of a log file (e.g., the last 10 lines). - Follow the log in real time (similar to tail -f). - Search within logs using keywords, similar to the grep command in Linux, to filter relevant log entries. ** Describe the solution you'd like ** It would be beneficial to have: - A command or option to specify the exact log file to read. - A way to view only the last N lines of a selected log file (e.g., tail -n 10 /var/log/nginx/access.log). - An option to follow logs in real-time (like tail -f), but with the ability to start by showing a specific number of lines. - A search/filter function to find specific log entries, similar to how grep works in Linux (grep "error" /var/log/nginx/access.log).
kerem 2026-03-01 15:37:01 +03:00
Author
Owner

@guillaumearnx commented on GitHub (Mar 26, 2025):

very useful

<!-- gh-comment-id:2755148145 --> @guillaumearnx commented on GitHub (Mar 26, 2025): very useful
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/nginx-ui#4888
No description provided.