Skip to main content

Crate journal_index

Crate journal_index 

Source
Expand description

Indexing functionality for systemd journal files.

This crate provides:

  • Histograms for time-based aggregation
  • File indexing for fast lookups
  • Bitmap-based filtering
  • Field type definitions

Re-exports§

pub use error::IndexError;
pub use error::Result;
pub use histogram::Bucket;
pub use histogram::Histogram;
pub use file_index::Anchor;
pub use file_index::Direction;
pub use file_index::FileIndex;
pub use file_index::LogEntryId;
pub use file_index::LogQueryParams;
pub use file_index::LogQueryParamsBuilder;
pub use file_indexer::DEFAULT_MAX_FIELD_PAYLOAD_SIZE;
pub use file_indexer::DEFAULT_MAX_UNIQUE_VALUES_PER_FIELD;
pub use file_indexer::FileIndexer;
pub use file_indexer::IndexingLimits;
pub use bitmap::Bitmap;
pub use filter::Filter;
pub use field_types::FieldName;
pub use field_types::FieldValuePair;

Modules§

bitmap
Compressed bitmap for efficient set operations on entry indices.
error
field_types
Type-safe wrappers for field names and field=value pairs.
file_index
file_indexer
Journal file indexing functionality.
filter
histogram
Sparse histogram with running counts for time-based aggregation.

Structs§

Microseconds
Timestamp in microseconds since Unix epoch.
Seconds
Timestamp in seconds since Unix epoch.