|
1 | 1 | # Docker Log Elasticsearch |
2 | 2 |
|
3 | | -[![GoDoc][1]][2] [![License: Apache 2.0][3]][4] [![Release][5]][6] [![Travis Status][7]][8] [![Coveralls Coverage][9]][10] [![Go Report Card][13]][14] [![Downloads][15]][16] |
| 3 | +[![GoDoc][1]][2] [![License: Apache 2.0][3]][4] [![Release][5]][6] [![Travis Status][7]][8] [![Coveralls Coverage][9]][10] [![Go Report Card][11]][12] |
4 | 4 |
|
5 | 5 | [1]: https://godoc.org/github.com/rchicoli/docker-log-elasticsearch?status.svg |
6 | 6 | [2]: https://godoc.org/github.com/rchicoli/docker-log-elasticsearch |
|
12 | 12 | [8]: https://travis-ci.org/rchicoli/docker-log-elasticsearch |
13 | 13 | [9]: https://coveralls.io/repos/rchicoli/docker-log-elasticsearch/badge.svg?branch=master&service=github |
14 | 14 | [10]: https://coveralls.io/github/rchicoli/docker-log-elasticsearch?branch=master |
15 | | -[11]: https://codecov.io/github/rchicoli/docker-log-elasticsearch/coverage.svg?branch=master |
16 | | -[12]: https://codecov.io/github/rchicoli/docker-log-elasticsearch?branch=master |
17 | | -[13]: https://goreportcard.com/badge/github.com/rchicoli/docker-log-elasticsearch |
18 | | -[14]: https://goreportcard.com/report/github.com/rchicoli/docker-log-elasticsearch |
19 | | -[15]: https://img.shields.io/github/downloads/rchicoli/docker-log-elasticsearch/total.svg?maxAge=1800 |
20 | | -[16]: https://github.com/rchicoli/docker-log-elasticsearch/releases |
21 | | -[17]: https://img.shields.io/github/stars/rchicoli/docker-log-elasticsearch.svg |
22 | | -[18]: https://github.com/rchicoli/docker-log-elasticsearch/stargazers |
| 15 | +[11]: https://goreportcard.com/badge/github.com/rchicoli/docker-log-elasticsearch |
| 16 | +[12]: https://goreportcard.com/report/github.com/rchicoli/docker-log-elasticsearch |
| 17 | + |
23 | 18 |
|
24 | 19 | `docker-log-elasticsearch` forwards container logs to Elasticsearch service. |
25 | 20 |
|
@@ -69,6 +64,10 @@ Before creating a docker container, a healthy instance of Elasticsearch service |
69 | 64 | | elasticsearch-username | no | no | | |
70 | 65 | | elasticsearch-url | no | yes | |
71 | 66 | | elasticsearch-version | 5 | no | |
| 67 | +| elasticsearch-bulk-actions | 100 | no | |
| 68 | +| elasticsearch-bulk-size | 5242880 | no | |
| 69 | +| elasticsearch-bulk-flush-interval | 5s | no | |
| 70 | +| elasticsearch-bulk-workers | 1 | no | |
72 | 71 | | grok-named-capture | true | no | |
73 | 72 | | grok-pattern | no | no | |
74 | 73 | | grok-pattern-from | no | no | |
@@ -119,6 +118,22 @@ Before creating a docker container, a healthy instance of Elasticsearch service |
119 | 118 | - *version* of Elasticsearch cluster |
120 | 119 | - *examples*: 1, 2, 5, 6 |
121 | 120 |
|
| 121 | +###### elasticsearch-bulk-actions ###### |
| 122 | + - *bulk-actions* specifies when to flush based on the number of actions currently added |
| 123 | + - *examples*: 1000 |
| 124 | + |
| 125 | +###### elasticsearch-bulk-workers ###### |
| 126 | + - *bulk-workers* is the number of concurrent workers allowed to be executed |
| 127 | + - *examples*: 2 |
| 128 | + |
| 129 | +###### elasticsearch-bulk-size ###### |
| 130 | + - *bulk-size* specifies when to flush based on the size (in bytes) of the actions currently added. Defaults to 5 MB and can be set to -1 to be disabled. |
| 131 | + - *examples*: 1024, -1 |
| 132 | + |
| 133 | +###### elasticsearch-bulk-flush-interval ###### |
| 134 | + - *bulk-flush-interval* specifies when to flush at the end of the given interval |
| 135 | + - *examples*: 300ms, 1s, 2h45m |
| 136 | + |
122 | 137 | ###### grok-pattern ###### |
123 | 138 | - *pattern* add customer pattern |
124 | 139 | - *examples*: CUSTOM_IP=(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?) |
|
0 commit comments