Skip to content

Commit 3979920

Browse files
authored
Fetch packages from package-storage (#21)
1 parent 662dcf6 commit 3979920

File tree

624 files changed

+32710
-5635
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

624 files changed

+32710
-5635
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
metricsets: ["billing"]
2+
period: {{period}}
3+
{{#if aws_access_key_id}}
4+
aws_access_key_id: {{aws_access_key_id}}
5+
{{/if}}
6+
{{#if aws_secret_access_key}}
7+
aws_secret_access_key: {{aws_secret_access_key}}
8+
{{/if}}
9+
{{#if aws_session_token}}
10+
aws_session_token: {{aws_session_token}}
11+
{{/if}}
12+
{{#if credential_profile_name}}
13+
credential_profile_name: {{credential_profile_name}}
14+
{{/if}}
15+
{{#if shared_credential_file}}
16+
shared_credential_file: {{shared_credential_file}}
17+
{{/if}}
18+
{{#if role_arn}}
19+
role_arn: {{role_arn}}
20+
{{/if}}
21+
{{#if regions}}
22+
regions: {{regions}}
23+
{{/if}}
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
- name: cloud
2+
title: Cloud
3+
group: 2
4+
type: group
5+
footnote: 'Examples: If Metricbeat is running on an EC2 host and fetches data from
6+
its host, the cloud info contains the data about this machine. If Metricbeat runs
7+
on a remote machine outside the cloud and fetches data from a service running
8+
in the cloud, the field contains cloud data from the machine the service is running
9+
on.'
10+
fields:
11+
- name: account.id
12+
level: extended
13+
type: keyword
14+
description: |-
15+
The cloud account or organization id used to identify different entities in a multi-tenant environment.
16+
Examples: AWS account id, Google Cloud ORG Id, or other unique identifier.
17+
ignore_above: 1024
18+
- name: account.name
19+
level: extended
20+
type: keyword
21+
description: |-
22+
The cloud account name or alias used to identify different entities in a multi-tenant environment.
23+
Examples: AWS account name, Google Cloud ORG display name.
24+
ignore_above: 1024
25+
- name: availability_zone
26+
level: extended
27+
type: keyword
28+
description: Availability zone in which this host is running.
29+
ignore_above: 1024
30+
- name: instance.id
31+
level: extended
32+
type: keyword
33+
description: Instance ID of the host machine.
34+
ignore_above: 1024
35+
- name: machine.type
36+
level: extended
37+
type: keyword
38+
description: Machine type of the host machine.
39+
ignore_above: 1024
40+
- name: provider
41+
level: extended
42+
type: keyword
43+
description: Name of the cloud provider. Example values are aws, azure, gcp, or
44+
digitalocean.
45+
ignore_above: 1024
46+
- name: region
47+
level: extended
48+
type: keyword
49+
description: Region in which this host is running.
50+
ignore_above: 1024
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
- name: aws.billing
2+
type: group
3+
release: beta
4+
fields:
5+
- name: metrics
6+
type: group
7+
fields:
8+
- name: EstimatedCharges.max
9+
type: long
10+
description: Maximum estimated charges for AWS acccount.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
- name: aws
2+
type: group
3+
fields:
4+
- name: tags.*
5+
type: object
6+
description: |
7+
Tag key value pairs from aws resources.
8+
- name: s3.bucket.name
9+
type: keyword
10+
description: |
11+
Name of a S3 bucket.
12+
- name: dimensions.*
13+
type: object
14+
description: |
15+
Metric dimensions.
16+
- name: '*.metrics.*.*'
17+
type: object
18+
description: |
19+
Metrics that returned from Cloudwatch API query.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
title: AWS billing metrics
2+
release: beta
3+
type: metrics
4+
streams:
5+
- input: aws/metrics
6+
vars:
7+
- name: period
8+
type: text
9+
title: Period
10+
multi: false
11+
required: true
12+
show_user: true
13+
default: 12h
14+
title: AWS Billing metrics
15+
description: Collect AWS billing metrics
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
queue_url: {{queue_url}}
2+
expand_event_list_from_field: Records
3+
{{#if credential_profile_name}}
4+
credential_profile_name: {{credential_profile_name}}
5+
{{/if}}
6+
{{#if shared_credential_file}}
7+
shared_credential_file: {{shared_credential_file}}
8+
{{/if}}
9+
{{#if visibility_timeout}}
10+
visibility_timeout: {{visibility_timeout}}
11+
{{/if}}
12+
{{#if api_timeout}}
13+
api_timeout: {{api_timeout}}
14+
{{/if}}
15+
{{#if endpoint}}
16+
endpoint: {{endpoint}}
17+
{{/if}}
18+
{{#if access_key_id}}
19+
access_key_id: {{access_key_id}}
20+
{{/if}}
21+
{{#if secret_access_key}}
22+
secret_access_key: {{secret_access_key}}
23+
{{/if}}
24+
{{#if session_token}}
25+
session_token: {{session_token}}
26+
{{/if}}
27+
{{#if role_arn}}
28+
role_arn: {{role_arn}}
29+
{{/if}}
30+
processors:
31+
- add_fields:
32+
target: ''
33+
fields:
34+
ecs.version: 1.5.0

0 commit comments

Comments
 (0)