Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.85.0 version not shipping logs #27202

Closed
vberegov opened this issue Sep 15, 2023 · 12 comments
Closed

0.85.0 version not shipping logs #27202

vberegov opened this issue Sep 15, 2023 · 12 comments
Labels
bug Something isn't working exporter/coralogix

Comments

@vberegov
Copy link

Using simple configuration to deliver logs :

receivers:
filelog:
start_at: beginning
include:
- /home/ubuntu/1
multiline:
line_start_pattern: "^{"
operators:
- type: json_parser
parse_to: body
exporters:
logdelivery:
domain: "domain.com"
private_key: "xxxx-xxxxx-xxxx-xxxx-xxxx"
application_name: "open-test-app"
subsystem_name: "test-app"
timeout: 30s
service:
pipelines:
logs:
receivers: [ filelog ]
exporters: [ logdelivery ]

With version 85 files are not being shipped over to logdelivery endpoint, even after triggering the file with additional data. Version 83 works absolute fine with the same config

@mx-psi mx-psi transferred this issue from open-telemetry/opentelemetry-collector-releases Sep 26, 2023
@crobert-1
Copy link
Member

Hello @vberegov, pardon my ignorance, but I'm not familiar with any exporter named logdelivery. Can you direct me to it?

@crobert-1 crobert-1 added needs triage New item requiring triage bug Something isn't working labels Oct 5, 2023
@vberegov
Copy link
Author

vberegov commented Oct 6, 2023

Hi @crobert-1 thanks a lot for your response. logdelivery is the name of the defined exporter above :

logdelivery:
domain: "domain.com"
private_key: "xxxx-xxxxx-xxxx-xxxx-xxxx"

@crobert-1
Copy link
Member

Can you share the errors you're seeing from the collector so we can help debug the issue?

@vberegov
Copy link
Author

vberegov commented Oct 6, 2023 via email

@crobert-1
Copy link
Member

crobert-1 commented Oct 6, 2023

Hi @crobert-1 thanks a lot for your response. logdelivery is the name of the defined exporter above :

logdelivery: domain: "domain.com" private_key: "xxxx-xxxxx-xxxx-xxxx-xxxx"

My apologies for the confusion here, but when I attempt to run a demo similar to what you have in your configuration file, I get an error because there is no exporter named logdelivery when I declare it in the config.

Here's my output:

* error decoding 'exporters': unknown type: "logdelivery" for id: "logdelivery" (valid values: [alibabacloud_logservice awskinesis datadog googlecloudpubsub prometheus awsxray clickhouse googlecloud opencensus signalfx zipkin azuredataexplorer dataset pulsar sumologic cassandra parquet splunk_hec tencentcloud_logservice awsemf carbon elasticsearch influxdb kafka logzio otlphttp awscloudwatchlogs file loadbalancing sapm tanzuobservability skywalking otlp coralogix f5cloud googlemanagedprometheus logicmonitor prometheusremotewrite sentry logging awss3 azuremonitor dynatrace instana loki mezmo])

This means that the collector is going through the config file trying to setup all of the components required, but when it sees the logdelivery exporter it fails because there aren't any components of that name within the collector itself.

Is there any link to the logdelivery exporter you're attempting to use? Like a README or documentation on how to use it?

@vberegov
Copy link
Author

vberegov commented Oct 10, 2023 via email

@crobert-1
Copy link
Member

Sorry for the confusion here. When an exporter is defined in the config file (logdelivery in your case), the collector checks to see if the name in the config file matches any known exporter type. When I use your config file (with logdelivery defined) I get the error I shared above.

Here's the list of valid collector exporters: https://opentelemetry.io/ecosystem/registry/?s=exporter&component=&language=collector

If your exporter isn't found in this list then it's not a valid exporter. Do you see it anywhere in that list?

@vberegov
Copy link
Author

vberegov commented Oct 10, 2023 via email

@github-actions
Copy link
Contributor

Pinging code owners for exporter/coralogix: @povilasv @matej-g. See Adding Labels via Comments if you do not have permissions to add labels yourself.

@crobert-1
Copy link
Member

The code owners have been pinged so hopefully you can get a response from them soon. If you need another option, you can try reaching out to support as mentioned in the README.

@povilasv
Copy link
Contributor

Hey @vberegov , the config you reference doesn't seem correct, there is no logdelivery exporter, it should be coralogixexporter.

I've looked thru the changes between 0.83 and 0.85 and we have no PRs in coralogixexporter.

One thing you can try is adding logging exporter to your log pipeline and see if there are any messages coming in:

exporters:
  logging:
    verbosity: detailed
    sampling_initial: 5
    sampling_thereafter: 200

FYI for faster replies feel free to reach out to us via our in-app chat or by sending us an email to support@coralogix.com.

@crobert-1
Copy link
Member

@vberegov Let us know if you have any other questions, or feel free to reach out to Coralogix support as @povilasv mentioned. I'll close this issue for now.

@crobert-1 crobert-1 removed the needs triage New item requiring triage label Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working exporter/coralogix
Projects
None yet
Development

No branches or pull requests

3 participants