Skip to content

Commit

Permalink
Fix typo; add syntax highlighting to README
Browse files Browse the repository at this point in the history
  • Loading branch information
ApsOps authored Aug 2, 2016
1 parent c343e54 commit c9464e6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ Filebeat container, alternative to fluentd used to ship kubernetes cluster and p
This container is designed to be run in a pod in Kubernetes to ship logs to logstash for further processing.
You can provide following environment variables to customize it.

```
```bash
LOGSTASH_HOSTS="'example.com:4083','example.com:4084'"
LOG_LEVEL=info # log level for filebeat. Defaults to "error".
```

You should be run as a Kubernetes Daemonset (a pod on every node). Example manifest:
This should be run as a Kubernetes Daemonset (a pod on every node). Example manifest:

```
```yaml
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
Expand Down Expand Up @@ -57,7 +57,7 @@ spec:
Make sure you add a filter in your logstash configuration if you want to process the actual log lines.
```
```ruby
filter {
if [type] == "kube-logs" {
json {
Expand Down

0 comments on commit c9464e6

Please sign in to comment.