diff --git a/plugins/out_tcp/tcp_conf.c b/plugins/out_tcp/tcp_conf.c index 7c7c82157c6..05a1232586d 100644 --- a/plugins/out_tcp/tcp_conf.c +++ b/plugins/out_tcp/tcp_conf.c @@ -43,6 +43,9 @@ struct flb_out_tcp *flb_tcp_conf_create(struct flb_output_instance *ins, return NULL; } + /* Set default network configuration if not set */ + flb_output_net_default("127.0.0.1", 5170, ins); + /* Check if SSL/TLS is enabled */ #ifdef FLB_HAVE_TLS if (ins->use_tls == FLB_TRUE) {