You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,8 +13,12 @@ attachment. It can also write a CSV file from the incoming events.
13
13
14
14
## Environment variables
15
15
16
-
Component does not has any required environment variables, but we suggest to use `EIO_REQUIRED_RAM_MB` - recommended value of allocated memory is `512` MB
17
-
16
+
1.`EIO_REQUIRED_RAM_MB` - recommended value of allocated memory is `512` MB
17
+
2.`REQUEST_TIMEOUT` - HTTP request timeout in milliseconds, default value 10000
18
+
3.`REQUEST_RETRY_DELAY` - delay between retry attempts in milliseconds, default value 7000
19
+
4.`REQUEST_MAX_RETRY` - number of HTTP request retry attempts, default value 7
20
+
5.`REQUEST_MAX_CONTENT_LENGTH` - max size of http request in bytes, default value: 104857600
21
+
6.`TIMEOUT_BETWEEN_EVENTS` - number of milliseconds write action wait before creating separate attachments, default value: 10000
18
22
19
23
## Credentials
20
24
@@ -56,6 +60,8 @@ a `JSON` object. To configure this action the following fields can be used:
56
60
57
61
### Write CSV attachment
58
62
63
+
*`Include Header` - this select configures output behavior of the component. If option is `Yes` or no value chosen than header of csv file will be written to attachment, this is default behavior. If value `No` selected than csv header will be omitted from attachment.
64
+
59
65
This action will combine multiple incoming events into a CSV file until there is a gap
60
66
of more than 10 seconds between events. Afterwards, the CSV file will be closed
61
67
and attached to the outgoing message.
@@ -95,6 +101,6 @@ able to handle file attachments.
95
101
96
102
1. You may get `Component run out of memory and terminated.` error during run-time, that means that component needs more memory, please add
97
103
`EIO_REQUIRED_RAM_MB` environment variable with an appropriate value (e.g. value `512` means that 512 MB will be allocated) for the component in this case.
98
-
2.Maximal possible size for an attachment is 10 MB.
99
-
3.Attachments mechanism does not work with [Local Agent Installation](https://support.elastic.io/support/solutions/articles/14000076461-announcing-the-local-agent-)
100
-
104
+
2.You may get `Error: write after end` error, as a current workaround try increase value of environment variable: `TIMEOUT_BETWEEN_EVENTS`.
105
+
3.Maximal possible size for an attachment is 10 MB.
106
+
4. Attachments mechanism does not work with [Local Agent Installation](https://support.elastic.io/support/solutions/articles/14000076461-announcing-the-local-agent-)
0 commit comments