Content was updated: Aug 28, 2026
IMPORTANT: This manual will be archived after 20270831. The manual will be available in a downloadable format and will continue to be updated, but not included as part of the active, searchable, documentation.
LogScale's parsing functions can be used to extract data, or to
identify specific data types, such as dates, time or JSON values from
events.
Table: Parsing Query Functions
Function Default Argument Availability Description base64Decode([as], [charset], field)fieldÂ
Performs Base64 decoding of a field.
base64Encode([as], field)fieldÂ
Performs Base64 encoding of a field.
kvParse([as], [excludeEmpty], [field], [onDuplicate], [override], [prefix], [separator], [separatorPadding])fieldÂ
Key-value parse events.
parseCEF([field], [headerprefix], [keeplabels], [labelprefix], [prefix])fieldÂ
Parses CEF version 0.x encoded messages.
parseCsv(columns, [delimiter], [excludeEmpty], field, [trim])fieldÂ
Parses a CSV-encoded field into known columns.
parseFixedWidth(columns, [field], [trim], widths)fieldÂ
Parses a fixed width-encoded field into known columns.
parseHexString([as], [charset], field)fieldÂ
Parses input from hex encoded bytes, decoding resulting bytes as a
string.
parseInt([as], [endian], field, [radix])fieldÂ
Converts an integer from any radix or base to base-ten, decimal
radix.
parseJson([exclude], [excludeEmpty], field, [handleNull], [include], [prefix], [removePrefixes])fieldÂ
Parses specified fields as JSON.
parseLEEF([delimiter], [field], [headerprefix], [keeplabels], [labelprefix], [parsetime], [prefix], [timezone])fieldÂ
Parses LEEF version 1.0 and 2.0 encoded messages.
parseTimestamp([addErrors], [as], [caseSensitive], field, [format], [timezone], [timezoneAs], [timezoneField])formatÂ
Parses a string into a timestamp.
parseUri([defaultBase], field, [prefix])fieldÂ
Extracts URI components from a field.
parseUrl([as], [field])fieldÂ
Extracts URL components from a field.
parseXml(field, [prefix], [strict])fieldÂ
Parses specified field as XML.