-
Notifications
You must be signed in to change notification settings - Fork 429
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
[salesforce] Implement logout_stream
data stream for Salesforce
#4942
[salesforce] Implement logout_stream
data stream for Salesforce
#4942
Conversation
🌐 Coverage report
|
/test |
LGTM! Approved |
Kibana dashboard files and screenshots are missing. Any specific reason? |
As part of the |
@SubhrataK , i am thinking of a few visualisation here - the count of events, geo distribution, top IP address. What do you recommend? May be we can have the geo representation of the event. |
@agithomas The Dashboard which is part of the Let me know if you want to add new visualization as part of the |
If a user logs out from salesforce with logout_stream and logout_rest enabled and configured, will two logout events create or just one? In what scenario logout_stream gets the data and logout_rest gets the data? |
I don't see a scenario where user enables both the In all scenario Both the data will be stored in the default individual index of the data stream and that will fall under "logs*" index pattern. If you suggest we can add the NOTE in the Troubleshooting section which says |
packages/salesforce/manifest.yml
Outdated
description: Collecting logs from Salesforce instances. | ||
title: Collect Salesforce logs using REST API | ||
description: Collecting logs from Salesforce instances using REST API. | ||
- type: cometd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Considering that cometd based integration offers more datastreams, move this as the first item in the list.
Add a notes / description under httpjson to inform the user to disable the cometd login / logout datastream in case they are enabling httpjson based integration .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As of now we currently have 2 data-streams
for cometd input
and 4 data-streams
for httpjson input
so we can keep the httpjson first and then the cometd input.
I was looking for the option to add the NOTE
in the integration page
but i could not find the appropriate/intuitive place to add this. Let me know your thoughts over the same
However, We can still add NOTE in the README saying that "User need to disable the httpjson(login and logout) data streams if user want to use cometd(login and logout) data streams to avoid data duplication from using both the inputs"
Please add this information under https://github.com/elastic/integrations/tree/main/packages/salesforce#configuration - to enable either of login_rest / login_stream and either of logout_stream / logout_rest. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LTGM
Hi! We just realized that we haven't looked into this PR in a while. We're sorry! We're labeling this issue as |
Hi! This PR has been stale for a while and we're going to close it as part of our cleanup procedure. We appreciate your contribution and would like to apologize if we have not been able to review it, due to the current heavy load of the team. Feel free to re-open this PR if you think it should stay open and is worth rebasing. Thank you for your contribution! |
8ffd2ef
to
1bb4eae
Compare
What does this PR do?
logout_stream
)NOTE: The PR has been tested against
8.7.0-SNAPSHOT
for review purpose only, it should be tested once with8.7.0
before merging this PR, so don't merge this PR unless tested against8.7.0
Related issues
salesforce
package foundation along withlogin_rest
data stream #4261salesforce
package foundation along withlogout_rest
data stream #4323apex
data stream for Salesforce #4410setupaudittrail
data stream for Salesforce #4356login_stream
data stream for Salesforce #4941Checklist
changelog.yml
file.manifest.yml
file to point to the latest Elastic stack release (e.g.^8.7.0
).How to test this PR locally