forked from pinojs/pino-eventhub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
usage.txt
21 lines (15 loc) · 1.11 KB
/
usage.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[0m[37m[1m[4mpino-eventhub[22m[39m[0m
[0mTo send [33mpino[39m logs to eventhub:[0m
[33mcat log | pino-eventhub[39m
Key variables can be set as flags or environment variables.
[36m[1mFlags[22m[39m
[0m-h | --help Display Help
-v | --version display Version
-s | --event-hub-namespace Required: the Event Hub Namespace; env var PINO_EVENT_HUB_NAMESPACE
-e | --event-hub Required: the Event Hub; env var EVENT_HUB_NAME
-n | --shared-access-policy-name Required: the Shared Access Policy Name; env var PINO_SHARED_ACCESS_POLICY_NAME
-a | --sas the Shared Access Signature; env var PINO_SHARED_ACCESS_SIGNATURE
-x | --expiry the expiry of the SAS, in unix time; env var PINO_SAS_EXPIRY; default 1 week from now
-b | --size the number of documents for each bulk insert
-k | --shared-access-policy-key the Shared Access Policy Key; env var PINO_SHARED_ACCESS_POLICY_KEY
-u | --url the Connection String Url; env var EVENT_HUB_URL