Module event

Source

Structsยง

JSON_CONTENT_TYPE
LogIngesterQueryParams
LogIngesterQueryParams is used for query params of log ingester API.
LogState
axum state struct to hold log handler and validator
NDJSON_CONTENT_TYPE
PB_CONTENT_TYPE
PipelineContent
PipelineDryrunParams
Dryrun pipeline with given data pipeline_name and pipeline_version to specify pipeline stored in db pipeline to specify pipeline raw content data to specify data data maght be list of string or list of object
PipelineIngestRequest ๐Ÿ”’
LogIngestRequest is the internal request for log ingestion. The raw log input can be transformed into multiple LogIngestRequests. Multiple LogIngestRequests will be ingested into the same database with the same pipeline.
TEXT_CONTENT_TYPE
TEXT_UTF8_CONTENT_TYPE

Constantsยง

GREPTIME_INTERNAL_PIPELINE_NAME_PREFIX ๐Ÿ”’

Traitsยง

LogValidator

Functionsยง

add_pipeline
add_step_info_for_pipeline_dryrun_error ๐Ÿ”’
check_data_valid ๐Ÿ”’
Check if the data length less than 10
check_pipeline_dryrun_params_valid ๐Ÿ”’
Check if the payload is valid json Check if the payload contains pipeline or pipeline_name and data Return Some if valid, None if invalid
check_pipeline_name_exists ๐Ÿ”’
Check if the pipeline_name exists
delete_pipeline
dryrun_pipeline_inner ๐Ÿ”’
Dryrun pipeline with given data
extract_pipeline_value_by_content_type ๐Ÿ”’
ingest_logs_inner ๐Ÿ”’
log_ingester
pipeline_dryrun
query_pipeline
transform_ndjson_array_factory ๐Ÿ”’
Transform NDJSON array into a single array always return an array

Type Aliasesยง

LogValidatorRef