Skip to content

Commit

Permalink
Create log-client README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
csb0710 authored Jun 28, 2024
1 parent 77725de commit d34d379
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions clients/log-client/README.md
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"}
```

0 comments on commit d34d379

Please sign in to comment.