|
1 | 1 | [role="xpack"]
|
2 | 2 |
|
3 | 3 | :type: cel
|
4 |
| -:mito_version: v1.17.0 |
| 4 | +:mito_version: v1.19.0 |
5 | 5 | :mito_docs: https://pkg.go.dev/github.com/elastic/mito@{mito_version}
|
6 | 6 |
|
7 | 7 | [id="{beatname_lc}-input-{type}"]
|
@@ -156,97 +156,94 @@ See <<cel-state-redact,`redact`>> configuration parameters for settings to exclu
|
156 | 156 | As noted above the `cel` input provides functions, macros, and global variables to extend the language.
|
157 | 157 |
|
158 | 158 | * {mito_docs}/lib#Collections[Collections]
|
159 |
| -** {mito_docs}/lib#hdr-Collate[Collate] |
160 |
| -** {mito_docs}/lib#hdr-Drop[Drop] |
161 |
| -** {mito_docs}/lib#hdr-Drop_Empty[Drop Empty] |
162 |
| -** {mito_docs}/lib#hdr-Flatten[Flatten] |
163 |
| -** {mito_docs}/lib#hdr-Front[Front] |
164 |
| -** {mito_docs}/lib#hdr-Keys[Keys] |
165 |
| -** {mito_docs}/lib#hdr-Max[Max] |
166 |
| -** {mito_docs}/lib#hdr-Min[Min] |
167 |
| -** {mito_docs}/lib#hdr-Sum[Sum] |
168 |
| -** {mito_docs}/lib#hdr-Tail[Tail] |
169 |
| -** {mito_docs}/lib#hdr-Values[Values] |
170 |
| -** {mito_docs}/lib#hdr-With[With] |
171 |
| -** {mito_docs}/lib#hdr-With_Replace[With Replace] |
172 |
| -** {mito_docs}/lib#hdr-With_Update[With Update] |
173 |
| -** {mito_docs}/lib#hdr-Zip[Zip] |
| 159 | +** {mito_docs}/lib#hdr-Collate-Collections[Collate] |
| 160 | +** {mito_docs}/lib#hdr-Drop-Collections[Drop] |
| 161 | +** {mito_docs}/lib#hdr-Drop_Empty-Collections[Drop Empty] |
| 162 | +** {mito_docs}/lib#hdr-Flatten-Collections[Flatten] |
| 163 | +** {mito_docs}/lib#hdr-Front-Collections[Front] |
| 164 | +** {mito_docs}/lib#hdr-Keys-Collections[Keys] |
| 165 | +** {mito_docs}/lib#hdr-Max-Collections[Max] |
| 166 | +** {mito_docs}/lib#hdr-Min-Collections[Min] |
| 167 | +** {mito_docs}/lib#hdr-Sum-Collections[Sum] |
| 168 | +** {mito_docs}/lib#hdr-Tail-Collections[Tail] |
| 169 | +** {mito_docs}/lib#hdr-Values-Collections[Values] |
| 170 | +** {mito_docs}/lib#hdr-With-Collections[With] |
| 171 | +** {mito_docs}/lib#hdr-With_Replace-Collections[With Replace] |
| 172 | +** {mito_docs}/lib#hdr-With_Update-Collections[With Update] |
| 173 | +** {mito_docs}/lib#hdr-Zip-Collections[Zip] |
174 | 174 |
|
175 | 175 | * {mito_docs}/lib#Crypto[Crypto]
|
176 |
| -** {mito_docs}/lib#hdr-Base64[Base64] |
177 |
| -** {mito_docs}/lib#hdr-Base64_Decode[Base64 Decode] |
178 |
| -** {mito_docs}/lib#hdr-Base64_Raw[Base64 Raw] |
179 |
| -** {mito_docs}/lib#hdr-Base64_Raw_Decode[Base64 Raw Decode] |
180 |
| -** {mito_docs}/lib#hdr-Hex[Hex] |
181 |
| -** {mito_docs}/lib#hdr-MD5[MD5] |
182 |
| -** {mito_docs}/lib#hdr-SHA_1[SHA-1] |
183 |
| -** {mito_docs}/lib#hdr-SHA_256[SHA-256] |
184 |
| -** {mito_docs}/lib#hdr-HMAC[HMAC] |
185 |
| -** {mito_docs}/lib#hdr-UUID[UUID] |
186 |
| - |
187 |
| -* {mito_docs}/lib#File[File] |
188 |
| -** {mito_docs}/lib#hdr-Dir[Dir] |
189 |
| -** {mito_docs}/lib#hdr-File[File] |
190 |
| - |
191 |
| -* {mito_docs}/lib#HTTP[HTTP] |
192 |
| -** {mito_docs}/lib#hdr-HEAD[HEAD] |
193 |
| -** {mito_docs}/lib#hdr-GET[GET] |
194 |
| -** {mito_docs}/lib#hdr-GET_Request[GET Request] |
195 |
| -** {mito_docs}/lib#hdr-POST[POST] |
196 |
| -** {mito_docs}/lib#hdr-POST_Request[POST Request] |
197 |
| -** {mito_docs}/lib#hdr-Request[Request] |
198 |
| -** {mito_docs}/lib#hdr-Basic_Authentication[Basic Authentication] |
199 |
| -** {mito_docs}/lib#hdr-Do_Request[Do Request] |
200 |
| -** {mito_docs}/lib#hdr-Parse_URL[Parse URL] |
201 |
| -** {mito_docs}/lib#hdr-Format_URL[Format URL] |
202 |
| -** {mito_docs}/lib#hdr-Parse_Query[Parse Query] |
203 |
| -** {mito_docs}/lib#hdr-Format_Query[Format Query] |
| 176 | +** {mito_docs}/lib#hdr-Base64-Crypto[Base64] |
| 177 | +** {mito_docs}/lib#hdr-Base64_Decode-Crypto[Base64 Decode] |
| 178 | +** {mito_docs}/lib#hdr-Base64_Raw-Crypto[Base64 Raw] |
| 179 | +** {mito_docs}/lib#hdr-Base64_Raw_Decode-Crypto[Base64 Raw Decode] |
| 180 | +** {mito_docs}/lib#hdr-Hex-Crypto[Hex] |
| 181 | +** {mito_docs}/lib#hdr-Hex_Decode-Crypto[Hex Decode] |
| 182 | +** {mito_docs}/lib#hdr-MD5-Crypto[MD5] |
| 183 | +** {mito_docs}/lib#hdr-SHA_1-Crypto[SHA-1] |
| 184 | +** {mito_docs}/lib#hdr-SHA_256-Crypto[SHA-256] |
| 185 | +** {mito_docs}/lib#hdr-HMAC-Crypto[HMAC] |
| 186 | +** {mito_docs}/lib#hdr-UUID-Crypto[UUID] |
204 | 187 |
|
205 | 188 | * {mito_docs}/lib#File[File] — the file extension is initialized with MIME handlers for "application/gzip", {mito_docs}/lib#NDJSON["application/x-ndjson"], {mito_docs}/lib#Zip["application/zip"], {mito_docs}/lib#CSVNoHeader["text/csv; header=absent"], and {mito_docs}/lib#CSVHeader["text/csv; header=present"].
|
206 |
| -** {mito_docs}/lib#hdr-Dir[Dir] |
207 |
| -** {mito_docs}/lib#hdr-File[File] |
| 189 | +** {mito_docs}/lib#hdr-Dir-File[Dir] |
| 190 | +** {mito_docs}/lib#hdr-File-File[File] |
| 191 | + |
| 192 | +* {mito_docs}/lib#HTTP[HTTP] |
| 193 | +** {mito_docs}/lib#hdr-HEAD-HTTP[HEAD] |
| 194 | +** {mito_docs}/lib#hdr-GET-HTTP[GET] |
| 195 | +** {mito_docs}/lib#hdr-GET_Request-HTTP[GET Request] |
| 196 | +** {mito_docs}/lib#hdr-POST-HTTP[POST] |
| 197 | +** {mito_docs}/lib#hdr-POST_Request-HTTP[POST Request] |
| 198 | +** {mito_docs}/lib#hdr-Request-HTTP[Request] |
| 199 | +** {mito_docs}/lib#hdr-Basic_Authentication-HTTP[Basic Authentication] |
| 200 | +** {mito_docs}/lib#hdr-Do_Request-HTTP[Do Request] |
| 201 | +** {mito_docs}/lib#hdr-Parse_URL-HTTP[Parse URL] |
| 202 | +** {mito_docs}/lib#hdr-Format_URL-HTTP[Format URL] |
| 203 | +** {mito_docs}/lib#hdr-Parse_Query-HTTP[Parse Query] |
| 204 | +** {mito_docs}/lib#hdr-Format_Query-HTTP[Format Query] |
208 | 205 |
|
209 | 206 | * {mito_docs}/lib#JSON[JSON]
|
210 |
| -** {mito_docs}/lib#hdr-Encode_JSON[Encode JSON] |
211 |
| -** {mito_docs}/lib#hdr-Decode_JSON[Decode JSON] |
212 |
| -** {mito_docs}/lib#hdr-Decode_JSON_Stream[Decode JSON Stream] |
| 207 | +** {mito_docs}/lib#hdr-Encode_JSON-JSON[Encode JSON] |
| 208 | +** {mito_docs}/lib#hdr-Decode_JSON-JSON[Decode JSON] |
| 209 | +** {mito_docs}/lib#hdr-Decode_JSON_Stream-JSON[Decode JSON Stream] |
213 | 210 |
|
214 | 211 | * {mito_docs}/lib#XML[XML] — the XML extension is initialized with XML schema definitions provided via the `xsd` configuration option.
|
215 |
| -** {mito_docs}/lib#hdr-Decode_XML[Decode XML] |
| 212 | +** {mito_docs}/lib#hdr-Decode_XML-XML[Decode XML] |
216 | 213 |
|
217 | 214 | * {mito_docs}/lib#Limit[Limit] — the rate limit extension is initialized with {mito_docs}/lib#OktaRateLimit[Okta (as "okta")] and the {mito_docs}/lib#DraftRateLimit[Draft Rate Limit (as "draft")] policies.
|
218 |
| -** {mito_docs}/lib#hdr-Rate_Limit[Rate Limit] |
| 215 | +** {mito_docs}/lib#hdr-Rate_Limit-Limit[Rate Limit] |
219 | 216 |
|
220 | 217 | * {mito_docs}/lib#MIME[MIME] — the MIME extension is initialized with MIME handlers for "application/gzip", {mito_docs}/lib#NDJSON["application/x-ndjson"], {mito_docs}/lib#Zip["application/zip"], {mito_docs}/lib#CSVNoHeader["text/csv; header=absent"], and {mito_docs}/lib#CSVHeader["text/csv; header=present"].
|
221 |
| -** {mito_docs}/lib#hdr-MIME[MIME] |
| 218 | +** {mito_docs}/lib#hdr-MIME-MIME[MIME] |
222 | 219 |
|
223 | 220 | * {mito_docs}/lib#Regexp[Regexp] — the regular expression extension is initialized with the patterns specified in the user input configuration via the `regexp` field.
|
224 |
| -** {mito_docs}/lib#hdr-RE_Match[RE Match] |
225 |
| -** {mito_docs}/lib#hdr-RE_Find[RE Find] |
226 |
| -** {mito_docs}/lib#hdr-RE_Find_All[RE Find All] |
227 |
| -** {mito_docs}/lib#hdr-RE_Find_Submatch[RE Find Submatch] |
228 |
| -** {mito_docs}/lib#hdr-RE_Find_All_Submatch[RE Find All Submatch] |
229 |
| -** {mito_docs}/lib#hdr-RE_Replace_All[RE Replace All] |
| 221 | +** {mito_docs}/lib#hdr-RE_Match-Regexp[RE Match] |
| 222 | +** {mito_docs}/lib#hdr-RE_Find-Regexp[RE Find] |
| 223 | +** {mito_docs}/lib#hdr-RE_Find_All-Regexp[RE Find All] |
| 224 | +** {mito_docs}/lib#hdr-RE_Find_Submatch-Regexp[RE Find Submatch] |
| 225 | +** {mito_docs}/lib#hdr-RE_Find_All_Submatch-Regexp[RE Find All Submatch] |
| 226 | +** {mito_docs}/lib#hdr-RE_Replace_All-Regexp[RE Replace All] |
230 | 227 |
|
231 | 228 | * {mito_docs}/lib#Printf[Printf]
|
232 | 229 | ** {mito_docs}/lib#hdr-Sprintf-Printf[Sprintf]
|
233 | 230 |
|
234 | 231 | * {mito_docs}/lib#Strings[Strings]
|
235 |
| -** {mito_docs}/lib#hdr-String_Methods[String Methods] |
236 |
| -** {mito_docs}/lib#hdr-String_List_Methods[String List Methods] |
237 |
| -** {mito_docs}/lib#hdr-Bytes_Methods[Bytes Methods] |
| 232 | +** {mito_docs}/lib#hdr-String_Methods-Strings[String Methods] |
| 233 | +** {mito_docs}/lib#hdr-String_List_Methods-Strings[String List Methods] |
| 234 | +** {mito_docs}/lib#hdr-Bytes_Methods-Strings[Bytes Methods] |
238 | 235 |
|
239 | 236 | * {mito_docs}/lib#Time[Time]
|
240 |
| -** {mito_docs}/lib#hdr-Format[Format] |
241 |
| -** {mito_docs}/lib#hdr-Parse_Time[Parse Time] |
242 |
| -** {mito_docs}/lib#hdr-Global_Variables[Global Variables] |
| 237 | +** {mito_docs}/lib#hdr-Format-Time[Format] |
| 238 | +** {mito_docs}/lib#hdr-Parse_Time-Time[Parse Time] |
| 239 | +** {mito_docs}/lib#hdr-Global_Variables-Time[Global Variables] |
243 | 240 |
|
244 | 241 | * {mito_docs}/lib#Try[Try]
|
245 |
| -** {mito_docs}/lib#hdr-Try[Try] |
246 |
| -** {mito_docs}/lib#hdr-Is_Error[Is Error] |
| 242 | +** {mito_docs}/lib#hdr-Try-Try[Try] |
| 243 | +** {mito_docs}/lib#hdr-Is_Error-Try[Is Error] |
247 | 244 |
|
248 | 245 | * {mito_docs}/lib#Debug[Debug] — the debug handler registers a logger with the name extension `cel_debug` and calls to the CEL `debug` function are emitted to that logger.
|
249 |
| -** {mito_docs}/lib#hdr-Debug[Debug] |
| 246 | +** {mito_docs}/lib#hdr-Debug-Debug[Debug] |
250 | 247 |
|
251 | 248 | In addition to the extensions provided in the packages listed above, a global variable `useragent` is also provided which gives the user CEL program access to the {beatname_lc} user-agent string. By default, this value is assigned to all requests' user-agent headers unless the CEL program has already set the user-agent header value. Programs wishing to not provide a user-agent, should set this header to the empty string, `""`.
|
252 | 249 |
|
|
0 commit comments