Skip to content

Commit 95795c3

Browse files
Merge branch 'main' into chore/event-original-part3
2 parents c1a52e3 + a8fcb8e commit 95795c3

File tree

288 files changed

+8125
-3790
lines changed

Some content is hidden

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

288 files changed

+8125
-3790
lines changed

.buildkite/pipeline.schedule-weekly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ steps:
2121
env:
2222
SERVERLESS: "false"
2323
FORCE_CHECK_ALL: "true"
24-
STACK_VERSION: 8.19.6-SNAPSHOT
24+
STACK_VERSION: 8.19.7-SNAPSHOT
2525
PUBLISH_COVERAGE_REPORTS: "false"
2626
ELASTIC_PACKAGE_DISABLE_ELASTIC_AGENT_WOLFI: "true"
2727
depends_on:

.buildkite/pipeline.serverless.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ steps:
109109
- label: ":github: Report failed tests"
110110
key: report-failed-tests
111111
command: ".buildkite/scripts/report_issues.sh"
112+
env:
113+
CI_MAX_TESTS_REPORTED: 30
112114
agents:
113115
image: "${LINUX_AGENT_IMAGE}"
114116
cpu: "8"

packages/aws/changelog.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# newer versions go on top
2+
- version: "4.4.0"
3+
changes:
4+
- description: Prefer set with copy_from.
5+
type: enhancement
6+
link: https://github.com/elastic/integrations/pull/15279
27
- version: "4.3.2"
38
changes:
49
- description: Update transform to filter out document containing an error.message from AWS Config, AWS Inspector, and AWS Security Hub latest indexes.

packages/aws/data_stream/vpcflow/elasticsearch/ingest_pipeline/default.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,11 +284,11 @@ processors:
284284
- set:
285285
if: ctx.aws?.vpcflow?.account_id != null
286286
field: cloud.account.id
287-
value: '{{aws.vpcflow.account_id}}'
287+
copy_from: aws.vpcflow.account_id
288288
- set:
289-
if: 'ctx?.aws?.vpcflow?.instance_id != null && ctx.aws.vpcflow.instance_id != "-"'
289+
if: 'ctx.aws?.vpcflow?.instance_id != null && ctx.aws.vpcflow.instance_id != "-"'
290290
field: cloud.instance.id
291-
value: '{{aws.vpcflow.instance_id}}'
291+
copy_from: aws.vpcflow.instance_id
292292
- convert:
293293
field: aws.vpcflow.packets_lost_no_route
294294
type: long

packages/aws/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
format_version: 3.3.2
22
name: aws
33
title: AWS
4-
version: "4.3.2"
4+
version: "4.4.0"
55
description: Collect logs and metrics from Amazon Web Services (AWS) with Elastic Agent.
66
type: integration
77
categories:
Lines changed: 15 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,34 @@
11
# Azure App Service Integration
22

3-
The Azure App Service logs integration retrieves different types of logs categories from Azure App Service.
3+
## Overview
4+
45
Azure App Service provides different logging to help you track, monitor, and debug your web application.
56

7+
## What data does this integration collect?
8+
9+
This integration currently collects one data stream: App Service Logs.
10+
11+
The Azure App Service logs integration retrieves different types of logs categories from Azure App Service:
12+
613
- HTTPLogs help monitor application health, performance and usage patterns.
714
- AuditLogs provide insights when publishing users successfully log on via one of the App Service publishing protocols.
815
- IPSecAuditLogs are generated through your application and pushed to Azure Monitoring.
916
- PlatformLogs are generated through AppService platform for your application.
1017
- ConsoleLogs are generated from application or container.
11-
- AppLogs are generated through your application (ex. logging capabilities)
12-
13-
## Data streams
14-
15-
This integration currently collects one data stream:
16-
17-
- App Service Logs
18+
- AppLogs are generated through your application (for example, logging capabilities).
1819

19-
## Requirements
20+
## What do I need to use this integration?
2021

21-
### Credentials
22+
Refer to the [Azure Logs](https://docs.elastic.co/integrations/azure) page for more information on requirements and setup instructions.
2223

23-
`eventhub` :
24-
_string_
25-
Is the fully managed, real-time data ingestion service.
26-
27-
`consumer_group` :
28-
_string_
29-
The publish/subscribe mechanism of Event Hubs is enabled through consumer groups. A consumer group is a view (state, position, or offset) of an entire event hub. Consumer groups enable multiple consuming applications to each have a separate view of the event stream, and to read the stream independently at their own pace and with their own offsets.
30-
Default value: `$Default`
31-
32-
`connection_string` :
33-
_string_
34-
The connection string required to communicate with Event Hubs, steps here https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-get-connection-string.
35-
36-
A Blob Storage account is required in order to store/retrieve/update the offset or state of the eventhub messages. This means that after stopping the filebeat azure module it can start back up at the spot that it stopped processing messages.
37-
38-
`storage_account` :
39-
_string_
40-
The name of the storage account the state/offsets will be stored and updated.
41-
42-
`storage_account_key` :
43-
_string_
44-
The storage account key, this key will be used to authorize access to data in your storage account.
24+
## App Service Logs
4525

46-
`resource_manager_endpoint` :
47-
_string_
48-
Optional, by default we are using the azure public environment, to override, users can provide a specific resource manager endpoint in order to use a different azure environment.
49-
Ex:
50-
https://management.chinacloudapi.cn/ for azure ChinaCloud
51-
https://management.microsoftazure.de/ for azure GermanCloud
52-
https://management.azure.com/ for azure PublicCloud
53-
https://management.usgovcloudapi.net/ for azure USGovernmentCloud
54-
Users can also use this in case of a Hybrid Cloud model, where one may define their own endpoints.
26+
Collects different types of logs from Azure App Service via Event Hub.
5527

56-
## App Service Logs
28+
{{event "app_service_logs"}}
5729

5830
**ECS Field Reference**
5931

60-
Please refer to the following [document](https://www.elastic.co/guide/en/ecs/current/ecs-field-reference.html) for detailed information on ECS fields.
32+
Refer to the following [document](https://www.elastic.co/guide/en/ecs/current/ecs-field-reference.html) for detailed information on ECS fields.
6133

6234
{{fields "app_service_logs"}}

packages/azure_app_service/changelog.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,34 @@
11
# newer versions go on top
2+
- version: "1.0.0"
3+
changes:
4+
- description: Make Azure App Service Integration GA
5+
type: enhancement
6+
link: https://github.com/elastic/integrations/pull/15845
7+
- version: "0.10.2"
8+
changes:
9+
- description: Review Azure App Service Integration documentation.
10+
type: enhancement
11+
link: https://github.com/elastic/integrations/pull/15838
12+
- version: "0.10.1"
13+
changes:
14+
- description: Fix dashboard summary
15+
type: bugfix
16+
link: https://github.com/elastic/integrations/pull/15827
17+
- version: "0.10.0"
18+
changes:
19+
- description: Fix json parsing and missing azure.subscription_id issues
20+
type: bugfix
21+
link: https://github.com/elastic/integrations/pull/15591
22+
- version: "0.9.0"
23+
changes:
24+
- description: Update readme
25+
type: enhancement
26+
link: https://github.com/elastic/integrations/pull/15784
27+
- version: "0.8.0"
28+
changes:
29+
- description: Add dashboard for log categories Application Logs, Audit Logs, Console Logs, HTTP Logs, IPsec Audit Logs and Platform Logs.
30+
type: enhancement
31+
link: https://github.com/elastic/integrations/pull/15487
232
- version: "0.7.0"
333
changes:
434
- description: Add a flag `fips_compatible` to control whether the package is allowed in the ECH FedRAMP High environment.

packages/azure_app_service/data_stream/app_service_logs/_dev/test/pipeline/test-appserviceapplogs-raw.log-expected.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,13 @@
1313
"result_description": "Exception on /favicon.ico [GET]"
1414
},
1515
"resource": {
16-
"id": "/SUBSCRIPTIONS/0E072EC1-C22F-44L8-ADDE-DA36ED609CCD/RESOURCEGROUPS/LUCIAN.DEACONESCU_RG_6914/PROVIDERS/MICROSOFT.WEB/SITES/MANGO-TREE-3004D00656084194B08980B8DB637B86"
16+
"id": "/SUBSCRIPTIONS/0E072EC1-C22F-44L8-ADDE-DA36ED609CCD/RESOURCEGROUPS/LUCIAN.DEACONESCU_RG_6914/PROVIDERS/MICROSOFT.WEB/SITES/MANGO-TREE-3004D00656084194B08980B8DB637B86",
17+
"provider": "MICROSOFT.WEB/SITES/MANGO-TREE-3004D00656084194B08980B8DB637B86"
1718
}
1819
},
20+
"cloud": {
21+
"provider": "azure"
22+
},
1923
"ecs": {
2024
"version": "8.11.0"
2125
},
@@ -39,9 +43,13 @@
3943
"result_description": "hi there"
4044
},
4145
"resource": {
42-
"id": "/SUBSCRIPTIONS/0E0733C1-C22F-4408-ADDE-DA35XD609CCD/RESOURCEGROUPS/LUCIAN.DEACONESCU_RG_6914/PROVIDERS/MICROSOFT.WEB/SITES/MANGO-TREE-3004D00656084194B08980B8DB637B86"
46+
"id": "/SUBSCRIPTIONS/0E0733C1-C22F-4408-ADDE-DA35XD609CCD/RESOURCEGROUPS/LUCIAN.DEACONESCU_RG_6914/PROVIDERS/MICROSOFT.WEB/SITES/MANGO-TREE-3004D00656084194B08980B8DB637B86",
47+
"provider": "MICROSOFT.WEB/SITES/MANGO-TREE-3004D00656084194B08980B8DB637B86"
4348
}
4449
},
50+
"cloud": {
51+
"provider": "azure"
52+
},
4553
"ecs": {
4654
"version": "8.11.0"
4755
},

packages/azure_app_service/data_stream/app_service_logs/_dev/test/pipeline/test-appserviceauditlogs-raw.log-expected.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,18 @@
1515
}
1616
},
1717
"resource": {
18-
"id": "/SUBSCRIPTIONS/12CABCB5-36E8-104F-A3D2-1DC9982F45CA/RESOURCEGROUPS/USER-TEST/PROVIDERS/MICROSOFT.WEB/SITES/USER-TEST-APP"
19-
}
18+
"group": "USER-TEST",
19+
"id": "/SUBSCRIPTIONS/12CABCB5-36E8-104F-A3D2-1DC9982F45CA/RESOURCEGROUPS/USER-TEST/PROVIDERS/MICROSOFT.WEB/SITES/USER-TEST-APP",
20+
"name": "USER-TEST-APP",
21+
"provider": "MICROSOFT.WEB/SITES"
22+
},
23+
"subscription_id": "12CABCB5-36E8-104F-A3D2-1DC9982F45CA"
24+
},
25+
"cloud": {
26+
"account": {
27+
"id": "12CABCB5-36E8-104F-A3D2-1DC9982F45CA"
28+
},
29+
"provider": "azure"
2030
},
2131
"ecs": {
2232
"version": "8.11.0"

packages/azure_app_service/data_stream/app_service_logs/_dev/test/pipeline/test-appserviceconsolelogs-raw.log-expected.json

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,18 @@
1616
"result_description": " Request for index page received\n\n"
1717
},
1818
"resource": {
19-
"id": "/SUBSCRIPTIONS/0E073EC1-C22F-4488-ADDE-DA35ED609CCD/RESOURCEGROUPS/LUCIAN.DEACONESCU_RG_6914/PROVIDERS/MICROSOFT.WEB/SITES/MANGO-TREE-3004D00656084194B08980B8DB637B86"
20-
}
19+
"group": "LUCIAN.DEACONESCU_RG_6914",
20+
"id": "/SUBSCRIPTIONS/0E073EC1-C22F-4488-ADDE-DA35ED609CCD/RESOURCEGROUPS/LUCIAN.DEACONESCU_RG_6914/PROVIDERS/MICROSOFT.WEB/SITES/MANGO-TREE-3004D00656084194B08980B8DB637B86",
21+
"name": "MANGO-TREE-3004D00656084194B08980B8DB637B86",
22+
"provider": "MICROSOFT.WEB/SITES"
23+
},
24+
"subscription_id": "0E073EC1-C22F-4488-ADDE-DA35ED609CCD"
25+
},
26+
"cloud": {
27+
"account": {
28+
"id": "0E073EC1-C22F-4488-ADDE-DA35ED609CCD"
29+
},
30+
"provider": "azure"
2131
},
2232
"ecs": {
2333
"version": "8.11.0"
@@ -45,8 +55,18 @@
4555
"result_description": " 169.254.129.1 - - [16/Feb/2023:08:28:44 +0000] \"GET / HTTP/1.1\" 200 1469 \"https://sandbox-92-3.reactblade.portal.azure.net/\" \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36\"\n\n"
4656
},
4757
"resource": {
48-
"id": "/SUBSCRIPTIONS/0E073EC1-C22F-4488-ADDE-DA35ED609CCD/RESOURCEGROUPS/LUCIAN.DEACONESCU_RG_6914/PROVIDERS/MICROSOFT.WEB/SITES/MANGO-TREE-3004D00656084194B08980B8DB637B86"
49-
}
58+
"group": "LUCIAN.DEACONESCU_RG_6914",
59+
"id": "/SUBSCRIPTIONS/0E073EC1-C22F-4488-ADDE-DA35ED609CCD/RESOURCEGROUPS/LUCIAN.DEACONESCU_RG_6914/PROVIDERS/MICROSOFT.WEB/SITES/MANGO-TREE-3004D00656084194B08980B8DB637B86",
60+
"name": "MANGO-TREE-3004D00656084194B08980B8DB637B86",
61+
"provider": "MICROSOFT.WEB/SITES"
62+
},
63+
"subscription_id": "0E073EC1-C22F-4488-ADDE-DA35ED609CCD"
64+
},
65+
"cloud": {
66+
"account": {
67+
"id": "0E073EC1-C22F-4488-ADDE-DA35ED609CCD"
68+
},
69+
"provider": "azure"
5070
},
5171
"ecs": {
5272
"version": "8.11.0"

0 commit comments

Comments
 (0)