-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Log Client | ||
Log client collects AccessLogs and Metrics from SentryFlow and prints them to the terminal or saves them to a log file. | ||
|
||
## Log Client Deployment | ||
Log client can be deployed using kubectl command. The deployment can be accomplished with the following | ||
commands: | ||
```bash | ||
$ cd SentryFlow/deployments | ||
$ kubectl apply -f log-client.yaml | ||
``` | ||
|
||
## Log client options | ||
These are the default env value in the log-client.yaml file. | ||
```bash | ||
env: | ||
- name: LOG_CFG | ||
value: "stdout" | ||
- name: METRIC_CFG | ||
value: "stdout" | ||
- name: METRIC_FILTER | ||
value: "api" | ||
``` | ||
|
||
If you want to change the default env value, you can refer to the following options. | ||
```bash | ||
env: | ||
- name: LOG_CFG | ||
value: {"stdout"|"file"|"none"} | ||
- name: METRIC_CFG | ||
value: {"stdout"|"file"|"none"} | ||
- name: METRIC_FILTER | ||
value: {"all"|"api"|"envoy"} | ||
``` |