Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhancement: add schema type to stream info #1026

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nikhilsinhaparseable
Copy link
Contributor

add optional field schema_type when creating stream add this field to storage and STREAM_INFO

use this field for known log sources like otel, k8s-events etc

for API /v1/logs to ingest otel-logs, add schema_type=otel
for API /api/v1/ingest with header X-P-Log-Source=otel add schema_type=otel

this field will be used for schema detection

@nikhilsinhaparseable nikhilsinhaparseable force-pushed the add-schema-type branch 2 times, most recently from 424737c to 1aefcf9 Compare December 7, 2024 19:01
add optional field `schema_type` when creating stream
add this field to storage and STREAM_INFO

use this field for known log sources like otel, k8s-events etc

for API `/v1/logs` to ingest otel-logs, add `schema_type`=`otel`
for API `/api/v1/ingest` with header `X-P-Log-Source`=`otel`
add `schema_type`=`otel`

this field will be used for schema detection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant