Comments (1)
I think requiring xterm-mouse mode is the way to go. A right-click on a field will popup a context-menu that can be customized by the log format configuration. Executing a command defined in the config will call a shell-script in the format's directory and send in the field contents on the standard input. We should probably also set some environment variables for the log file name, line number, etc... The output of the script will then be taken as commands/search/sql to execute in lnav.
from lnav.
Related Issues (20)
- Custom theme location does not seem to work? HOT 4
- Enable native Caddy JSON log file format HOT 2
- Can it be built without Rust, disabling related module? HOT 2
- Cursor mode selection does not select expected lines HOT 1
- Feature request: hide/show "discovered fields"
- Customizable hidden fields separate so you can replace vertical ellipsis
- support for multiple JSON line-formats and switching between them HOT 1
- Add time filters to the Filters configuration panel
- Timezone ignored if miliseconds is absent HOT 3
- highlight log content using data parser
- A line with three quotes crashes lnav HOT 1
- Globbing (* wildcard) stop working on macos in remote HOT 1
- With enable-word-wrap found matches are below the fold
- env_logger format is not detected HOT 2
- Esc key doesn't abort HOT 2
- Crash with a specific regex pattern
- Crash when regex without body is used HOT 2
- Regex exact match for filter possible? HOT 4
- Multiple failures if a timezone is not configured on a system or if tzdata not installed
- Apple silicone support (arm64) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lnav.