diff --git a/modules/grpc/otel/otel-grammar.ym b/modules/grpc/otel/otel-grammar.ym index 0ff2c63187..c553100a04 100644 --- a/modules/grpc/otel/otel-grammar.ym +++ b/modules/grpc/otel/otel-grammar.ym @@ -69,7 +69,7 @@ GrpcClientCredentialsBuilderW *last_grpc_client_credentials_builder; %token KW_URL %token KW_TARGET_SERVICE_ACCOUNTS %token KW_ADC -%token KW_SYSLOG_NG_OTLP +%token KW_AXOSYSLOG_OTLP %token KW_COMPRESSION %token KW_BATCH_BYTES %token KW_CONCURRENT_REQUESTS @@ -93,7 +93,7 @@ start kw_opentelemetry_or_syslog_ng_otlp : KW_OPENTELEMETRY - | KW_SYSLOG_NG_OTLP + | KW_AXOSYSLOG_OTLP ; source_otel @@ -182,7 +182,7 @@ destination_otel_channel_arg ; destination_syslog_ng_otlp - : KW_SYSLOG_NG_OTLP + : KW_AXOSYSLOG_OTLP { last_driver = *instance = syslog_ng_otlp_dd_new(configuration); } diff --git a/modules/grpc/otel/otel-parser.c b/modules/grpc/otel/otel-parser.c index fb30fdd990..6cd6ceee79 100644 --- a/modules/grpc/otel/otel-parser.c +++ b/modules/grpc/otel/otel-parser.c @@ -47,7 +47,8 @@ static CfgLexerKeyword otel_keywords[] = { "url", KW_URL }, { "target_service_accounts", KW_TARGET_SERVICE_ACCOUNTS }, { "adc", KW_ADC }, - { "syslog_ng_otlp", KW_SYSLOG_NG_OTLP }, + { "axosyslog_otlp", KW_AXOSYSLOG_OTLP }, + { "syslog_ng_otlp", KW_AXOSYSLOG_OTLP }, { "compression", KW_COMPRESSION }, { "batch_bytes", KW_BATCH_BYTES }, { "concurrent_requests", KW_CONCURRENT_REQUESTS },