Skip to content

Implement base functionality of Search Tail #3

@febinjoy

Description

@febinjoy

Is your feature request related to a problem? Please describe.
As a developer, I often need to monitor and search through large log files for specific keywords or patterns. Current tools either lack efficient keyword highlighting or easy navigation through search results, making the process cumbersome and time-consuming. Additionally, constant monitoring can be resource-intensive.

Describe the solution you'd like
I propose implementing a command-line tool, Search-Tail, that can:
- Reload log files on demand by pressing r, instead of using continuous monitoring, to save system resources.
- Highlight specific keywords dynamically as they appear in the logs.
- Allow users to specify keywords and customise the highlighting colours.
- Include options to search through the logs for specific phrases.
- Highlight the current line with the search keyword.
- Enable navigation through search results using n to go to the next occurrence and p to go to the previous occurrence of the keyword.
- Provide functionality similar to tail with an option -n to specify the number of lines to tail from the end of the file.

Describe alternatives you've considered
I have considered using existing command-line tools like grep and tail -f. However, these either lack the simplicity of a tailored CLI tool or do not provide intuitive keyword highlighting out-of-the-box.

Additional context
This tool aims to enhance the command-line experience for developers and system administrators, making it easier to monitor and debug applications efficiently. The tool should be easy to configure, extendable, and work seamlessly. The r reload functionality is a key feature to ensure resource efficiency. Additionally, the ability to tail a specific number of lines and navigate through search results enhances usability.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions