Usage: otelcol [flags] otelcol [command] Available Commands: completion Generate the autocompletion script for the specified shell components Outputs available components in this collector distribution featuregate Display feature gates information help Help about any command print-config Prints the Collector's configuration in the specified mode validate Validates the config without running the collector Flags: --config --config=file:/path/to/first --config=file:path/to/second Locations to the config file(s), note that only a single location can be set per flag entry e.g. --config=file:/path/to/first --config=file:path/to/second. (default []) --feature-gates flag Comma-delimited list of feature gate identifiers. Prefix with '-' to disable the feature. '+' or no prefix will enable the feature. (default -confmap.enableMergeAppendOption,-exporter.file.nativeCompression,-exporter.kafka.useRequestType,-exporter.prometheus.DisableResourceToTelemetryConversion,exporter.prometheusexporter.DisableAddMetricSuffixes,-exporter.prometheusremotewrite.DisableResourceToTelemetryConversion,-exporter.prometheusremotewritexporter.EnableMultipleWorkers,-exporter.prometheusremotewritexporter.RetryOn429,-exporter.prometheusremotewritexporter.enableSendingRW2,-exporter.prometheusremotewritexporter.removeTopLevelHTTPSettings,-extension.healthcheck.useComponentStatus,filelog.allowFileDeletion,filelog.allowHeaderMetadataParsing,filelog.mtimeSortType,filelog.protobufCheckpointEncoding,-filelog.requireExplicitTopN,filelog.windows.caseInsensitive,-filter.filterlog.useOTTLBridge,-filter.filtermetric.useOTTLBridge,-filter.filterspan.useOTTLBridge,hostmetrics.process.bootTimeCache,logs.assignKeys,logs.jsonParserArray,-ottl.functions.enableLambda,-parser.uri.ecscompliant,-pdata.useProtoPooling,pkg.confighttp.PrioritizeNewKeepalive,-pkg.experimentalmetricmetadata.useEntityEventsSpecification,-pkg.exporterhelper.queueBatchEnabled,pkg.ottl.functions.enableDynamicSliceArguments,-pkg.ottl.functions.enableExperimental,pkg.stanza.addDefaultScopeName,-pkg.translator.jaeger.DontEmitV0HttpConventions,-pkg.translator.jaeger.EmitV1HttpConventions,pkg.translator.prometheus.PermissiveLabelSanitization,-pkg.translator.zipkin.DontEmitV0CloudResourceConventions,pkg.translator.zipkin.DontEmitV0HttpConventions,pkg.translator.zipkin.DontEmitV0NetworkConventions,pkg.translator.zipkin.DontEmitV0ScopeConventions,-pkg.translator.zipkin.EmitV1CloudResourceConventions,pkg.translator.zipkin.EmitV1HttpConventions,pkg.translator.zipkin.EmitV1NetworkConventions,pkg.translator.zipkin.EmitV1ScopeConventions,-processor.resourcedetection.consul.prefixMetaAttributes,-processor.resourcedetection.elasticbeanstalk.DontEmitV0DeploymentConventions,-processor.resourcedetection.elasticbeanstalk.EmitV1DeploymentConventions,-receiver.hostmetrics.DontEmitV0SystemConventions,-receiver.hostmetrics.EmitV1SystemConventions,receiver.hostmetricsreceiver.UseLinuxMemAvailable,-receiver.prometheusreceiver.EnableCreatedTimestampZeroIngestion,-receiverhelper.newReceiverMetrics,-scraper.process.DontEmitV0SystemConventions,-scraper.process.EmitV1SystemConventions,-service.AllowNoPipelines,-service.partialReload,service.partialReloadReceivers,-service.profilesSupport,-stanza.synchronousLogEmitter,-stanza.udp.useStableNetworkAttributes,-stanza.windows.eventDrivenScraping,-telemetry.newPipelineTelemetry,-transform.flatten.logs) -h, --help help for otelcol --set value Set arbitrary component config property. The component has to be defined in the config file and the flag has a higher precedence. Array config properties are overridden and maps are joined. Example --set=processors.batch.timeout=2s -v, --version version for otelcol Use "otelcol [command] --help" for more information about a command.