From 06bc37fe5fdb7be763108e7e4fabdacdae214086 Mon Sep 17 00:00:00 2001 From: Nathan Fox Date: Mon, 14 Aug 2023 16:30:08 -0400 Subject: [PATCH] fix: socket tcp port typedef (#18180) * fix socket tcp port typedef * also fix udp --- src/sources/socket/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, ) }