-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[filebeat][cometd] Facing issue with collection of data when leveraging within an integration #33369
Comments
@yug-elastic , after your debugging, as per the recommendation in the slack conversation, should the issue be assigned to elastic-agent-control-plane-team ? |
I pinged the |
Can you explain in detail the "issues" you are facing in integration?
|
The issue is basically that the data is not being collected for data streams using We are using the latest (8.4.1) Elastic Stack (with No, we couldn't find any errors in the agent logs and container logs related to
|
I have not got fully gone all the details of cometd and i see that the concept behind works like a subscription. Does the cometd client need to have a port listening to receive the data emitted from the source? If yes, which port it is? |
No, it doesn't require a port. It only requires the client configuration along with the channel name to be subscribed, for example, |
This issue will be resolved as part of this PR: elastic/elastic-agent#1962. These changes will be available in 8.7 release of the elastic-package. CC: @lalit-satapathy , @agithomas |
While working on the development of the Salesforce integration, we were able to develop the first four data streams using the
httpjson
input successfully. However, while working on the last two data streams which are supposed to leverage thecometd
input, we are facing some issues with data collection (the streaming data doesn't get collected). Here's the issue and all we have tried so far:cometd
input frombeats
repo independently using standalonefilebeat
, which seemed to work fine. The configuration ofcometd
in the integration is exactly the same, we are still facing issues with the integration.salesforce
filebeat module from beats repo which internally leveragescometd
, which seemed to work fine.filebeat.sock
was not found when running thecometd
data streams only. When we enabled thehttpjson
data streams, we even saw the acknowledgement in the logs that one input is running. However, that isn't the case forcometd
.cometd
configuration out there. However, for the other data streams (login_rest
,logout_rest
,setupaudittrail
) usinghttpjson
,filebeat.yml
is getting updated. We have attached the files (filebeat_default.yml
andelastic-agent-policy.yml
) from the diagnostics here for your reference, along with the workingfilebeat.yml
with standalone filebeat. Post this, we aren't sure where we can look at for the exact cause of the issue.Relevant files:
Note: Suffix
.txt
has been added to the files on purpose so that GitHub allows to upload the file. Hence, kindly ignore the extension of the filename.CC: @lalit-satapathy
Salesforce Integration Development Issue: elastic/integrations#3940
The text was updated successfully, but these errors were encountered: