forked from pinojs/pino-elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathusage.txt
19 lines (14 loc) · 920 Bytes
/
usage.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[0m[37m[1m[4mpino-elasticsearch[22m[39m[0m
[0mTo send [33mpino[39m logs to elasticsearch:[0m
[33mcat log | pino-elasticsearch --host 192.168.1.42[39m
[36m[1mFlags[22m[39m
[0m-h | --help Display Help
-v | --version display Version
-H | --host the IP address of elasticsearch; default: 127.0.0.1
-p | --port the port of elasticsearch; default: 9200
-i | --index the name of the index to use; default: pino
will replace %{DATE} with the YYYY-MM-DD date
-t | --type the name of the type to use; default: log
-b | --size the number of documents for each bulk insert
-l | --trace-level trace level for the elasticsearch client, default 'error' (info, debug, trace).
-c | --aws-credentials path to aws_config.json (is using AWS Elasticsearch)