base/frameworks/storage/main.zeek
- Storage
The storage framework provides a way to store long-term data to disk.
- Namespace:
Storage
Summary
Redefinable Options
Types
Base record for backend options that can be passed to
|
|
Record for passing arguments to |
|
Detailed Interface
Redefinable Options
Types
- Storage::BackendOptions
- Type:
- Fields:
-
serializer:
Storage::Serializer&default=Storage::STORAGE_SERIALIZER_JSON&optional The serializer used for converting Zeek data.
-
forced_sync:
bool&default=Storage::default_forced_sync&optional Sets the backend into forced-synchronous mode. All operations will run in synchronous mode, even if the async functions are called. This should generally only be set to
Tduring testing.
-
redis:
Storage::Backend::Redis::Options&optional (present if policy/frameworks/storage/backend/redis/main.zeek is loaded)
-
sqlite:
Storage::Backend::SQLite::Options&optional (present if policy/frameworks/storage/backend/sqlite/main.zeek is loaded)
-
serializer:
Base record for backend options that can be passed to
Storage::Async::open_backendandStorage::Sync::open_backend. Backend plugins can redef this record to add relevant fields to it.
- Storage::PutArgs
- Type:
- Fields:
Record for passing arguments to
Storage::Async::putandStorage::Sync::put.