zlib_decompress_from_base64_string()
Applies to: ✅ Azure Data Explorer ✅ Azure Monitor ✅ Microsoft Sentinel
Decodes the input string from base64 and performs zlib decompression.
Note
The only supported windows size is 15.
zlib_decompress_from_base64_string(
string)
Learn more about syntax conventions.
Name | Type | Required | Description |
---|---|---|---|
string | string |
✔️ | The string to decode. The string should have been compressed with zlib and then base64-encoded. |
- Returns a
string
that represents the original string. - Returns an empty result if decompression or decoding failed.
- For example, invalid zlib-compressed and base 64-encoded strings will return an empty output.
print zcomp = zlib_decompress_from_base64_string("eJwLSS0uUSguKcrMS1cwNDIGACxqBQ4=")
Output
zcomp |
---|
Test string 123 |
print zcomp = zlib_decompress_from_base64_string("x0x0x0")
Output
zcomp |
---|
- Create a compressed input string with zlib_compress_to_base64_string().