[O11y][Salesforce] Add custom field for _id and update dashboard - #6041
Conversation
🌐 Coverage report
|
| 2. Click on the Connected App name created by the user to generate the client id and client secret (Refer to Client Key and Client Secret for Authentication) under the Master Label. | ||
| 3. Click on Edit Policies, and select `Relax IP restrictions` from the dropdown for IP Relaxation. | ||
|
|
||
| - If **Login events table [Logs Salesforce]** does not display older documents after upgrading to ``0.7.0`` or later versions, then this issue can be solved by reindexing the ``login_rest`` data stream's indices. |
There was a problem hiding this comment.
I believe, there exist there are two cases under the troubleshooting section.
Please separate out two cases . Currently it is difficult to find out the 2 cases of troubleshooting . Formatting must be adjusted too.
| } | ||
| ``` | ||
|
|
||
| 5. Verify data is reindexed completely. |
There was a problem hiding this comment.
This is the example response of reindex API. If there would be any failure it would be verified via failures parameter. Otherwise total should be equal to addition of created and updated documents.
{
"took": 308,
"timed_out": false,
"total": 100,
"updated": 0,
"created": 100,
"deleted": 0,
"batches": 1,
"version_conflicts": 0,
"noops": 0,
"retries": {
"bulk": 0,
"search": 0
},
"throttled_millis": 0,
"requests_per_second": -1,
"throttled_until_millis": 0,
"failures": []
}
| @@ -1,4 +1,9 @@ | |||
| # newer versions go on top | |||
| - version: 0.7.0 | |||
There was a problem hiding this comment.
Shouldn't this be a bugfix with version number 0.6.1?
There was a problem hiding this comment.
The meta fields are supported in dashboards till 8.4.0. But after 8.4.0, the dashboard shows an error. Should we consider it bugfix because this issue occurred due to functional changes of meta fields?
| 2. Click on the Connected App name created by the user to generate the client id and client secret (Refer to Client Key and Client Secret for Authentication) under the Master Label. | ||
| 3. Click on Edit Policies, and select `Relax IP restrictions` from the dropdown for IP Relaxation. | ||
|
|
||
| - If **Login events table [Logs Salesforce]** does not display older documents after upgrading to ``0.7.0`` or later versions, then this issue can be solved by reindexing the ``login_rest`` data stream's indices. |
There was a problem hiding this comment.
This depends on the discussion whether the package version is 0.6.1 or 0.7.0. TBD
| # newer versions go on top | ||
| - version: 0.7.0 | ||
| changes: | ||
| - description: Add custom field for _id and update dashboards. |
There was a problem hiding this comment.
The description is too technical and around some low level details.
I believe the core of the issue is the PR indent to make the dashboard compatible with certain version of Lens. It is what must be put under the changelog
There was a problem hiding this comment.
description: Make dashboard compatible with meta fields for Kibana 8.6.0 and above
Let me know if this looks good to you?
| name: salesforce | ||
| title: Salesforce | ||
| version: 0.6.0 | ||
| version: 0.7.0 |
…y-salesforce-update-id-field-in-dashboard
|
|
||
| ### Missing old events in **Login events table [Logs Salesforce]** panel | ||
|
|
||
| If **Login events table [Logs Salesforce]** does not display older documents after upgrading to ``0.8.0`` or later versions, then this issue can be solved by reindexing the ``login_rest`` data stream's indices. |
There was a problem hiding this comment.
Please remove this phrase - [Logs Salesforce]
| 2. Click on the Connected App name created by the user to generate the client id and client secret (Refer to Client Key and Client Secret for Authentication) under the Master Label. | ||
| 3. Click on Edit Policies, and select `Relax IP restrictions` from the dropdown for IP Relaxation. | ||
|
|
||
| ### Missing old events in **Login events table [Logs Salesforce]** panel |
There was a problem hiding this comment.
Please remove this phrase - [Logs Salesforce]
| ``` | ||
|
|
||
| ``` | ||
| DELETE /_data_stream/<data_stream> |
There was a problem hiding this comment.
Quiet a lot of things happening here.
You can have delete datastream and index template as a next step.
Also, Keep the examples of deleting datastream and index template together , keep templates of delete datastream & index template together
There was a problem hiding this comment.
I have updated the PR.
|
Package salesforce - 0.8.0 containing this change is available at https://epr.elastic.co/search?package=salesforce |
…stic#6041) * Add custom field for _id and update dashboards * Update troubleshooting section of README * Update changelog * Update troubleshooting steps in README
What does this PR do?
salesforce.login.document_idand copy the value of_idfield intosalesforce.login.document_id._idfield withsalesforce.login.document_idin [Logs Salesforce] Login dashboard._idfield withevent_idin [Logs Salesforce] Setup Audit Trail dashboard.Checklist
changelog.ymlfile.Screenshots
Related Issues