forked from opensearch-project/dashboards-observability
-
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.
Add skipping indices for all integrations that have sample queries (o…
…pensearch-project#1747) * Update avg threshold for cloudfront query Signed-off-by: Simeon Widdis <[email protected]> * Add first draft skipping index for cloudfront integration Signed-off-by: Simeon Widdis <[email protected]> * Add skipping index for nginx Signed-off-by: Simeon Widdis <[email protected]> * Add skipping index for s3 Signed-off-by: Simeon Widdis <[email protected]> * Add skipping index for elb Signed-off-by: Simeon Widdis <[email protected]> * Update skipping indices to use bloom filters for client IDs Signed-off-by: Simeon Widdis <[email protected]> * Add skipping index for apache Signed-off-by: Simeon Widdis <[email protected]> --------- Signed-off-by: Simeon Widdis <[email protected]> (cherry picked from commit 685aeaf)
- Loading branch information
Showing
11 changed files
with
95 additions
and
9 deletions.
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
10 changes: 10 additions & 0 deletions
10
...r/adaptors/integrations/__data__/repository/apache/assets/create_skipping_index-1.0.0.sql
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CREATE SKIPPING INDEX ON {table_name} ( | ||
remote_addr BLOOM_FILTER, | ||
`status` VALUE_SET, | ||
body_bytes_sent MIN_MAX | ||
) WITH ( | ||
auto_refresh = true, | ||
refresh_interval = '15 Minutes', | ||
checkpoint_location = '{s3_checkpoint_location}', | ||
watermark_delay = '1 Minute' | ||
) |
10 changes: 10 additions & 0 deletions
10
...rs/integrations/__data__/repository/aws_cloudfront/assets/create_skipping_index-1.0.0.sql
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CREATE SKIPPING INDEX ON {table_name} ( | ||
c_ip BLOOM_FILTER, | ||
sc_status VALUE_SET, | ||
time_to_first_byte MIN_MAX | ||
) WITH ( | ||
auto_refresh = true, | ||
refresh_interval = '15 Minutes', | ||
checkpoint_location = '{s3_checkpoint_location}', | ||
watermark_delay = '1 Minute' | ||
) |
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
11 changes: 11 additions & 0 deletions
11
.../adaptors/integrations/__data__/repository/aws_elb/assets/create_skipping_index-1.0.0.sql
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
CREATE SKIPPING INDEX ON {table_name} ( | ||
client_ip BLOOM_FILTER, | ||
elb_status_code VALUE_SET, | ||
request_processing_time MIN_MAX, | ||
sent_bytes MIN_MAX | ||
) WITH ( | ||
auto_refresh = true, | ||
refresh_interval = '15 Minutes', | ||
checkpoint_location = '{s3_checkpoint_location}', | ||
watermark_delay = '1 Minute' | ||
) |
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
10 changes: 10 additions & 0 deletions
10
...r/adaptors/integrations/__data__/repository/aws_s3/assets/create_skipping_index-1.0.0.sql
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CREATE SKIPPING INDEX ON {table_name} ( | ||
requester BLOOM_FILTER, | ||
http_status VALUE_SET, | ||
request_time MIN_MAX | ||
) WITH ( | ||
auto_refresh = true, | ||
refresh_interval = '15 Minutes', | ||
checkpoint_location = '{s3_checkpoint_location}', | ||
watermark_delay = '1 Minute' | ||
) |
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
10 changes: 10 additions & 0 deletions
10
...er/adaptors/integrations/__data__/repository/nginx/assets/create_skipping_index-1.0.0.sql
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CREATE SKIPPING INDEX ON {table_name} ( | ||
remote_addr BLOOM_FILTER, | ||
`status` VALUE_SET, | ||
body_bytes_sent MIN_MAX | ||
) WITH ( | ||
auto_refresh = true, | ||
refresh_interval = '15 Minutes', | ||
checkpoint_location = '{s3_checkpoint_location}', | ||
watermark_delay = '1 Minute' | ||
) |
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