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: docs/user/bots.md
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -5104,6 +5104,15 @@ Side-effect: Every field that is included in the group-by is ensured to be uniqe
5104
5104
Note: The keys listed here refer to the keys in the events (in contrast to the CSV column names).
5105
5105
Default: `[]`
5106
5106
5107
+
**`allowed_fieldnames`**
5108
+
5109
+
(optional, list) Lists the fields which are included in the csv file. Every element should be also included in `fieldnames_translation` to avoid crashes.
5110
+
5111
+
**`fieldnames_translation`**
5112
+
5113
+
(optional, dict) Maps each the name of each field listed in `allowed_fieldnames` to a different name to be used in the csv header.
5114
+
**Warning:** The Bot will crash on sending in case a fieldname is present in an event and in `allowed_fieldnames` but not in `fieldnames_translation`.
5115
+
5107
5116
**`attachment_name`**
5108
5117
5109
5118
(optional, string) Attachment file name for the outgoing messages. May contain date formatting like this `%Y-%m-%d`. Example: "events_%Y-%m-%d" will appear as "events_2022-12-01.zip". Defaults to "intelmq_%Y-%m-%d".
0 commit comments