# Functions
GetJSONParser returns JSONParser ready to parse JSON lines.
GetLogRows returns LogRows from the pool for the given streamFields.
GetStreamTags returns a StreamTags from pool.
GetSyslogParser returns syslog parser from the pool.
GetTenantIDFromRequest returns tenantID from r.
MarshalFieldsToJSON appends JSON-marshaled fields to dst and returns the result.
MarshalFieldsToLogfmt appends logfmt-marshaled fields to dst and returns the result.
MustOpenStorage opens Storage at the given path.
ParseQuery parses s.
ParseQueryAtTimestamp parses s in the context of the given timestamp.
ParseStatsQuery parses s with needed stats query checks.
ParseTenantID returns tenantID from s.
PutJSONParser returns the parser to the pool.
PutLogRows returns lr to the pool.
PutStreamTags returns st to the pool.
PutSyslogParser returns back syslog parser to the pool.
RenameField renames the first non-empty field with the name from oldNames list to newName in Fields.
SkipLeadingFieldsWithoutValues skips leading fields without values.
TryParseTimestampRFC3339Nano parses s as RFC3339 with optional nanoseconds part and timezone offset and returns unix timestamp in nanoseconds.
# Constants
MaxFieldNameSize is the maximum size in bytes for field name.
# Structs
BlockColumn is a single column of a block of data.
DatadbStats contains various stats for datadb.
Field is a single field for the log entry.
IndexdbStats contains indexdb stats.
JSONParser parses a single JSON log message into Fields.
LogRows holds a set of rows needed for Storage.MustAddRows
LogRows must be obtained via GetLogRows().
PartitionStats contains stats for the partition.
Query represents LogsQL query.
Storage is the storage for log entries.
StorageConfig is the config for the Storage.
StorageStats represents stats for the storage.
StreamFilter is a filter for streams, e.g.
StreamTags contains stream tags.
SyslogParser is parser for syslog messages.
TenantID is an id of a tenant for log streams.
ValueWithHits contains value and hits.
# Type aliases
RowFormatter implementes fmt.Stringer for []Field aka a single log row.
TimeFormatter implements fmt.Stringer for timestamp in nanoseconds.
WriteBlockFunc must write a block with the given timestamps and columns.