Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/antelopesystems/lop
lop command
https://github.com/antelopesystems/lop
Last synced: 9 days ago
JSON representation
lop command
- Host: GitHub
- URL: https://github.com/antelopesystems/lop
- Owner: antelopesystems
- License: other
- Created: 2020-09-30T09:14:54.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-30T12:02:56.000Z (about 4 years ago)
- Last Synced: 2024-10-31T13:07:28.657Z (19 days ago)
- Language: JavaScript
- Size: 10.7 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Introduction
Tool to parse json logs to a fixed log standard display.
# Installation
```shell
npm i -g @antelope/lop
```# Usage
```shell
kubectl logs pod/example | lop
```# Examples
## Kubectl logs with follow
```shell
kubectl logs -f pod/example | lop
```## Filter by appender (log name)
```shell
kubectl logs pod/example | lop --appender standard
```
or
```shell
kubectl logs pod/example | lop -a standard
```## Filter by log level
```shell
kubectl logs pod/example | lop -l WARN # Will show WARN logs and above (ERROR)
```
or
```shell
kubectl logs pod/example | lop --level WARN # Will show WARN logs and above (ERROR)
```