Skip to content

Commit 378b40e

Browse files
author
kaiyan-sheng
committed
fix hbs format
1 parent 16b9d59 commit 378b40e

File tree

6 files changed

+28
-20
lines changed

6 files changed

+28
-20
lines changed

packages/aws/data_stream/awshealth/fields/fields.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
type: group
66
description: >
77
AWS Health metrics.
8+
89
fields:
910
- name: affected_entities_others
1011
type: float
@@ -116,3 +117,4 @@
116117
type: keyword
117118
description: >
118119
The unique identifier for the affected entities. The entity ARN has the format: `arn:aws:health:<entity-region>:<aws-account>:entity/<entity-id>`. For example, `arn:aws:health:us-east-1:111222333444:entity/AVh5GGT7ul1arKr1sE1K`.
120+

packages/aws/data_stream/awshealth/manifest.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,6 @@ streams:
4747
show_user: false
4848
description: >
4949
Processors are used to reduce the number of fields in the exported event or to enhance the event with metadata. This executes in the agent before the events are shipped. See [Processors](https://www.elastic.co/guide/en/fleet/current/elastic-agent-processor-configuration.html) for details.
50+
5051
title: AWS Health metrics
5152
description: Collect AWS Health metrics

packages/aws/data_stream/cloudfront_logs/agent/stream/aws-s3.yml.hbs

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,6 @@ bucket_list_prefix: {{bucket_list_prefix}}
1818
{{#if queue_url}}
1919
queue_url: {{queue_url}}
2020
{{/if}}
21-
{{#if credential_profile_name}}
22-
credential_profile_name: {{credential_profile_name}}
23-
{{/if}}
24-
{{#if shared_credential_file}}
25-
shared_credential_file: {{shared_credential_file}}
26-
{{/if}}
2721
{{#if visibility_timeout}}
2822
visibility_timeout: {{visibility_timeout}}
2923
{{/if}}
@@ -33,6 +27,14 @@ api_timeout: {{api_timeout}}
3327
{{#if max_number_of_messages}}
3428
max_number_of_messages: {{max_number_of_messages}}
3529
{{/if}}
30+
31+
{{/if}}
32+
{{#if credential_profile_name}}
33+
credential_profile_name: {{credential_profile_name}}
34+
{{/if}}
35+
{{#if shared_credential_file}}
36+
shared_credential_file: {{shared_credential_file}}
37+
{{/if}}
3638
{{#if endpoint}}
3739
endpoint: {{endpoint}}
3840
{{/if}}

packages/aws/data_stream/s3access/agent/stream/aws-s3.yml.hbs

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,6 @@ bucket_list_prefix: {{bucket_list_prefix}}
1818
{{#if queue_url}}
1919
queue_url: {{queue_url}}
2020
{{/if}}
21-
{{#if credential_profile_name}}
22-
credential_profile_name: {{credential_profile_name}}
23-
{{/if}}
24-
{{#if shared_credential_file}}
25-
shared_credential_file: {{shared_credential_file}}
26-
{{/if}}
2721
{{#if visibility_timeout}}
2822
visibility_timeout: {{visibility_timeout}}
2923
{{/if}}
@@ -33,6 +27,14 @@ api_timeout: {{api_timeout}}
3327
{{#if max_number_of_messages}}
3428
max_number_of_messages: {{max_number_of_messages}}
3529
{{/if}}
30+
31+
{{/if}}
32+
{{#if credential_profile_name}}
33+
credential_profile_name: {{credential_profile_name}}
34+
{{/if}}
35+
{{#if shared_credential_file}}
36+
shared_credential_file: {{shared_credential_file}}
37+
{{/if}}
3638
{{#if endpoint}}
3739
endpoint: {{endpoint}}
3840
{{/if}}

packages/aws/data_stream/waf/agent/stream/aws-s3.yml.hbs

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,6 @@ bucket_list_prefix: {{bucket_list_prefix}}
1818
{{#if queue_url}}
1919
queue_url: {{queue_url}}
2020
{{/if}}
21-
content_type: application/json
22-
{{#if credential_profile_name}}
23-
credential_profile_name: {{credential_profile_name}}
24-
{{/if}}
25-
{{#if shared_credential_file}}
26-
shared_credential_file: {{shared_credential_file}}
27-
{{/if}}
2821
{{#if visibility_timeout}}
2922
visibility_timeout: {{visibility_timeout}}
3023
{{/if}}
@@ -34,6 +27,14 @@ api_timeout: {{api_timeout}}
3427
{{#if max_number_of_messages}}
3528
max_number_of_messages: {{max_number_of_messages}}
3629
{{/if}}
30+
31+
{{/if}}
32+
{{#if credential_profile_name}}
33+
credential_profile_name: {{credential_profile_name}}
34+
{{/if}}
35+
{{#if shared_credential_file}}
36+
shared_credential_file: {{shared_credential_file}}
37+
{{/if}}
3738
{{#if endpoint}}
3839
endpoint: {{endpoint}}
3940
{{/if}}

packages/aws/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ vars:
7878
show_user: false
7979
description: URL to proxy connections in the form of http\[s\]://<user>:<password>@<server name/ip>:<port>
8080
policy_templates:
81-
- name: awshealth
81+
- name: awshealth
8282
title: AWS Health
8383
description: Collect AWS Health metrics with Elastic Agent (experimental)
8484
data_streams:

0 commit comments

Comments
 (0)