Skip to content

Commit 85ff196

Browse files
Update ingest.rs
changed user_agent_key to `parseable` to keep it consistent with the user_agent_key used in kafka (all lowercase) Signed-off-by: Nikhil Sinha <[email protected]>
1 parent 9a01050 commit 85ff196

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/handlers/http/ingest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ pub async fn ingest_internal_stream(stream_name: String, body: Bytes) -> Result<
125125
let json: Value = serde_json::from_slice(&body)?;
126126
let schema = PARSEABLE.get_stream(&stream_name)?.get_schema_raw();
127127
let mut p_custom_fields = HashMap::new();
128-
p_custom_fields.insert(USER_AGENT_KEY.to_string(), "Parseable".to_string());
128+
p_custom_fields.insert(USER_AGENT_KEY.to_string(), "parseable".to_string());
129129
p_custom_fields.insert(FORMAT_KEY.to_string(), LogSource::Pmeta.to_string());
130130
// For internal streams, use old schema
131131
format::json::Event::new(json)

0 commit comments

Comments
 (0)