diff --git a/src/sources/socket/mod.rs b/src/sources/socket/mod.rs index a27712cc2073de..896d1f374b968e 100644 --- a/src/sources/socket/mod.rs +++ b/src/sources/socket/mod.rs @@ -233,7 +233,7 @@ impl SourceConfig for SocketConfig { Self::NAME, legacy_port_key, &owned_value_path!("port"), - Kind::bytes(), + Kind::integer(), None, ) .with_source_metadata( @@ -262,7 +262,7 @@ impl SourceConfig for SocketConfig { Self::NAME, legacy_port_key, &owned_value_path!("port"), - Kind::bytes(), + Kind::integer(), None, ) }