newrelic / newrelic-salesforce-exporter

New Relic integration for Salesforce logs.
Apache License 2.0
10 stars 15 forks source link

The integration does not throw an error, but does not send data to New Relic with some warning message #52

Open gogoidaa101 opened 1 month ago

gogoidaa101 commented 1 month ago

Description I'm trying to set up the integration of New Relic with Salesforce, but the data is not sent to New Relic despite not generating any error logs. Only the configuration file (config.yml) has been updated with customer ID, secret, username, password and token data. No other modifications were made to the rest of the source code.

Expected Behavior SF log information sent to New Relic and visible through the standard Dashboard available in New Relic I/O

Relevant Logs / Console output {"message": "Downloading log lines for log file: /services/data/v60.0/sobjects/EventLogFile/0ATJ4000001EbzXOAS/LogFile", "timestamp": 1725339696826, "level": "info"} {"message": "Sent 1000 log messages.", "timestamp": 1725339697099, "level": "info"}

Warning message: Retrying (Retry(total=2, connect=3, read=2, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='tplcrm.my.salesforce.com', port=443): Read timed out. (read timeout=5)")': /services/data/v60.0/query?q=SELECT+Id,+Name,+BillingAddress+FROM+Account

image (1) image (2)

Sharing below the config file. Let me know if I have missed anything on that:

`integration_name: com.newrelic.labs.sfdc.eventlogfiles run_as_service: False cron_interval_minutes: 60 service_schedule: hour: "*" minute: "0,15,30,45" instances: