Skip to content

Commit

Permalink
docs: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
iret-kawashima committed Dec 5, 2023
1 parent 421aead commit f4baa7f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ USAGE:
alpen [global options] command [command options] [arguments...]
VERSION:
0.0.12
0.0.16
DESCRIPTION:
A cli application for parsing various access logs
Expand Down Expand Up @@ -70,6 +70,7 @@ OPTIONS:
--output value, -o value select output format: json|pretty-json|text|ltsv (default: "json")
--skip value, -s value [ --skip value, -s value ] skip records by index
--metadata, -m enable metadata output (default: false)
--line-number, -l set line number at the beginning of the line (default: false)
--glob-pattern value, -G value filter glob pattern: available for parsing zip only (default: "*")
--help, -h show help
```
Expand All @@ -81,6 +82,9 @@ Example
# Read and convert s3 logs from file and convert to default NDJSON format
alpen s3 -f "sample_s3.log"

# Set line number at the beginning of line, like "index": "n"
alpen s3 -f "sample_s3.log" -l

# Read s3 logs from file and convert to pretty NDJSON, also output metadata
alpen s3 -f "sample_s3.log" -o pretty-json -m

Expand Down

0 comments on commit f4baa7f

Please sign in to comment.