Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

background color segmentation on a particular field #29

Open
trentm opened this issue Nov 22, 2021 · 1 comment
Open

background color segmentation on a particular field #29

trentm opened this issue Nov 22, 2021 · 1 comment

Comments

@trentm
Copy link
Owner

trentm commented Nov 22, 2021

Say you have a log file with some context from component="foo" and some from component="bar", etc. An option to say --segment=component that would pick a background color for the "foo" log records and another for the "bar" log records might be helpful. This could be the default when rendering logs from multiple input files, or when (eventually) handling logs output from multiple containers with docker-compose ... output.

@trentm
Copy link
Owner Author

trentm commented Nov 22, 2021

Another example might be separate lambda instances in aws logs tail --follow /aws/lambda/${fnname} output.

...
2021-11-22T23:49:37.474000+00:00 2021/11/22/[$LATEST]0a924d337cb44629a161d8885d0a0f3e 2021/11/22 23:49:37 Received SHUTDOWN event
2021-11-22T23:49:37.474000+00:00 2021/11/22/[$LATEST]0a924d337cb44629a161d8885d0a0f3e 2021/11/22 23:49:37 Exiting
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant