forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[O11y][Salesforce] Add support of the
interval
parameter in Salesfo…
…rce `setupaudittrail-rest` fileset. (elastic#35938) * add interval for setupaudittrail fileset * add changelog.asciidoc entry * add changelog.next.asciidoc entry * run make check command * run make update command * update note as per review comment * make check command * remove CHANGELOG.asciidoc entry
- Loading branch information
1 parent
bb0bf78
commit c7d587c
Showing
6 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -225,6 +225,7 @@ Example config: | |
var.user: "[email protected]" | ||
var.password: "password" | ||
var.url: "https://instance-url.salesforce.com" | ||
var.interval: 1h | ||
---- | ||
|
||
include::../include/var-paths.asciidoc[] | ||
|
@@ -253,6 +254,12 @@ The password used as part of the authentication flow. It is required for authent | |
|
||
The URL of the Saleforce instance. | ||
|
||
*`var.interval`*:: | ||
|
||
Period of fetching logs, i.e. 1s/1m/1h. | ||
|
||
Note: The default value of `var.interval` is 1h. It is important to exercise caution when reducing the interval, as it directly affects the API rate limit of the Salesforce instance. Salesforce API rate limit is ~1000 API calls per hour. Hence if user goes with lower limit of var.interval, the Salesforce API rate limit will exceed and any additional API requests beyond the limit will result in an error response from the Salesforce API. The error message will typically indicate that the rate limit has been exceeded. Please refer to the following link for the https://developer.salesforce.com/docs/atlas.en-us.salesforce_app_limits_cheatsheet.meta/salesforce_app_limits_cheatsheet/salesforce_app_limits_platform_api.htm[Salesforce API Rate Limit]. | ||
|
||
[float] | ||
==== `apex-rest` fileset settings | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -218,6 +218,7 @@ Example config: | |
var.user: "[email protected]" | ||
var.password: "password" | ||
var.url: "https://instance-url.salesforce.com" | ||
var.interval: 1h | ||
---- | ||
|
||
include::../include/var-paths.asciidoc[] | ||
|
@@ -246,6 +247,12 @@ The password used as part of the authentication flow. It is required for authent | |
|
||
The URL of the Saleforce instance. | ||
|
||
*`var.interval`*:: | ||
|
||
Period of fetching logs, i.e. 1s/1m/1h. | ||
|
||
Note: The default value of `var.interval` is 1h. It is important to exercise caution when reducing the interval, as it directly affects the API rate limit of the Salesforce instance. Salesforce API rate limit is ~1000 API calls per hour. Hence if user goes with lower limit of var.interval, the Salesforce API rate limit will exceed and any additional API requests beyond the limit will result in an error response from the Salesforce API. The error message will typically indicate that the rate limit has been exceeded. Please refer to the following link for the https://developer.salesforce.com/docs/atlas.en-us.salesforce_app_limits_cheatsheet.meta/salesforce_app_limits_cheatsheet/salesforce_app_limits_platform_api.htm[Salesforce API Rate Limit]. | ||
|
||
[float] | ||
==== `apex-rest` fileset settings | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters