Skip to content
Merged
Show file tree
Hide file tree
Changes from 41 commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
b50ad39
Update manifest.yml format version to 3.4
giorgi-imerlishvili-elastic Jul 17, 2025
af28b64
Merge branch 'main' of github.com:giorgi-imerlishvili-elastic/integra…
giorgi-imerlishvili-elastic Jul 17, 2025
1551485
Update manifest.yml format version to 3.4
giorgi-imerlishvili-elastic Jul 17, 2025
144c534
Update changelog.yml
giorgi-imerlishvili-elastic Jul 17, 2025
7f5b6a1
set statsd.*.* object type to double
giorgi-imerlishvili-elastic Jul 17, 2025
d958843
Merge branch 'elastic:main' into main
giorgi-imerlishvili-elastic Jul 24, 2025
d674291
remove non-mandatory `source` setting from manifest.yml
giorgi-imerlishvili-elastic Jul 24, 2025
e74c058
Merge branch 'elastic:main' into main
giorgi-imerlishvili-elastic Jul 24, 2025
d4c8c97
Add system test for RabbitMQ
giorgi-imerlishvili-elastic Jul 31, 2025
bae056a
Merge branch 'elastic:main' into main
giorgi-imerlishvili-elastic Jul 31, 2025
5714ca1
Merge branch 'main' of github.com:giorgi-imerlishvili-elastic/integra…
giorgi-imerlishvili-elastic Jul 31, 2025
5d183ad
modify manifest.yml and changelog.yml
giorgi-imerlishvili-elastic Jul 31, 2025
971c768
add system tests for rabbitMQ data streams: connection, exchange, nod…
giorgi-imerlishvili-elastic Aug 20, 2025
b2a38cb
Merge branch 'elastic:main' into main
giorgi-imerlishvili-elastic Aug 20, 2025
ece7b92
Merge branch 'main' of github.com:giorgi-imerlishvili-elastic/integra…
giorgi-imerlishvili-elastic Aug 20, 2025
83d8c87
update readme
giorgi-imerlishvili-elastic Aug 20, 2025
a5f6775
update field type and system test file yaml format
giorgi-imerlishvili-elastic Aug 20, 2025
7880f2e
fix lint errors
giorgi-imerlishvili-elastic Aug 20, 2025
1a9a85c
fix sonar cube errors
giorgi-imerlishvili-elastic Aug 21, 2025
d101751
add comments
giorgi-imerlishvili-elastic Aug 21, 2025
ea3cd82
add unit tests for simulate_queue_connection.py
giorgi-imerlishvili-elastic Aug 21, 2025
fdbb43a
add more comments
giorgi-imerlishvili-elastic Aug 21, 2025
f37b4b7
generate new sample events
giorgi-imerlishvili-elastic Aug 26, 2025
f72a6a7
update readme
giorgi-imerlishvili-elastic Aug 26, 2025
4962cdc
update readme
giorgi-imerlishvili-elastic Aug 27, 2025
9dc1ec5
Changes based on PR review
giorgi-imerlishvili-elastic Aug 29, 2025
263636b
Make scripts executable and remove relevant commands from dockerfile
giorgi-imerlishvili-elastic Aug 29, 2025
00e0fbf
update readme
giorgi-imerlishvili-elastic Aug 29, 2025
1de2781
Merge branch 'elastic:main' into main
giorgi-imerlishvili-elastic Aug 29, 2025
2e16eda
changes based on feedback
giorgi-imerlishvili-elastic Sep 2, 2025
fbcce62
Merge branch 'elastic:main' into main
giorgi-imerlishvili-elastic Sep 2, 2025
836dc94
Merge branch 'main' of github.com:giorgi-imerlishvili-elastic/integra…
giorgi-imerlishvili-elastic Sep 2, 2025
8051f39
Merge branch 'elastic:main' into main
giorgi-imerlishvili-elastic Sep 4, 2025
301ee83
Merge branch 'elastic:main' into main
giorgi-imerlishvili-elastic Sep 5, 2025
0fc42fb
Merge branch 'elastic:main' into main
giorgi-imerlishvili-elastic Sep 5, 2025
b6c1828
Merge branch 'elastic:main' into main
giorgi-imerlishvili-elastic Sep 9, 2025
9c934dd
Merge branch 'elastic:main' into main
giorgi-imerlishvili-elastic Sep 21, 2025
0a332ff
Merge branch 'elastic:main' into main
giorgi-imerlishvili-elastic Oct 7, 2025
00dc7b2
Merge branch 'elastic:main' into main
giorgi-imerlishvili-elastic Oct 28, 2025
1e8b4e7
update readme
giorgi-imerlishvili-elastic Oct 28, 2025
dea3cf0
update readme
giorgi-imerlishvili-elastic Oct 28, 2025
d39153d
Update packages/azure_app_service/changelog.yml
giorgi-imerlishvili-elastic Oct 28, 2025
247afa6
update readme
giorgi-imerlishvili-elastic Oct 28, 2025
8656f1d
fix static test
giorgi-imerlishvili-elastic Oct 28, 2025
b8bb90a
fix lint
giorgi-imerlishvili-elastic Oct 29, 2025
4e94e8d
Merge branch 'elastic:main' into main
giorgi-imerlishvili-elastic Oct 30, 2025
6cbfcea
Merge branch 'main' into azure_app_service_update_readme
giorgi-imerlishvili-elastic Oct 30, 2025
010a2a9
update manifest.yml
giorgi-imerlishvili-elastic Oct 30, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions packages/azure_app_service/_dev/build/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,17 @@ https://management.azure.com/ for azure PublicCloud
https://management.usgovcloudapi.net/ for azure USGovernmentCloud
Users can also use this in case of a Hybrid Cloud model, where one may define their own endpoints.

## Setup
To start collecting data with this integration, you need to:
1. Set up an Event Hub namespace and an Event Hub within it. Follow the instructions in the [Azure Event Hubs documentation](https://learn.microsoft.com/en-us/azure/event-hubs/event-hubs-create).
2. Configure diagnostic settings for your Azure App Service to send logs to the Event Hub. Follow the instructions in the [Azure App Service diagnostic settings documentation](https://learn.microsoft.com/en-us/azure/app-service/monitor-diagnostic-logs#send-diagnostic-logs-to-an-event-hub).
3. Create a Blob Storage account to store the offsets/state of the Event Hub messages. Follow the instructions in the [Azure Blob Storage documentation](https://learn.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-portal).
4. Configure the integration with the necessary credentials mentioned in the Requirements section.

## App Service Logs
Collects different types of logs from Azure App Service via Event Hub.

{{event "app_service_logs"}}

**ECS Field Reference**

Expand Down
5 changes: 5 additions & 0 deletions packages/azure_app_service/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "0.8.0"
changes:
- description: Update readme
type: enhancement
link: https://github.com/elastic/integrations/pull/14769
- version: "0.7.0"
changes:
- description: Add a flag `fips_compatible` to control whether the package is allowed in the ECH FedRAMP High environment.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"input": {
"type": "azure-eventhub"
},
"agent": {
"name": "EPGETBIW05AD",
"id": "e42ad9e7-fc37-4342-80cc-ee5bcb314f5d",
"ephemeral_id": "65e0aae6-d877-4830-b9f0-10b0ccd39bb9",
"type": "filebeat",
"version": "8.18.3"
},
"@timestamp": "2025-10-28T09:39:57.805Z",
"ecs": {
"version": "8.11.0"
},
"data_stream": {
"namespace": "default",
"type": "logs",
"dataset": "azure_app_service.app_service_logs"
},
"elastic_agent": {
"id": "e42ad9e7-fc37-4342-80cc-ee5bcb314f5d",
"version": "8.18.3",
"snapshot": false
},
"event": {
"agent_id_status": "verified",
"ingested": "2025-10-28T09:40:37Z",
"dataset": "azure_app_service.app_service_logs"
},
"azure-eventhub": {
"sequence_number": 133,
"consumer_group": "$Default",
"offset": 107374190096,
"eventhub": "testeventhub",
"enqueued_time": "2025-10-28T09:40:36.610Z"
},
"tags": [
"azure-appservice",
"forwarded"
],
"azure": {
"resource": {
"id": "/SUBSCRIPTIONS/12CABCB4-86E8-404F-A3D2-1DC9982F45CA/RESOURCEGROUPS/IMERLISHVILI-TEST/PROVIDERS/MICROSOFT.WEB/SITES/LEMON-FLOWER-AF075F43C47545E6B4248C46905E5188"
},
"app_service": {
"result_description": "169.254.129.1 - - [28/Oct/2025:09:39:57 +0000] \"GET /static/favicon.ico HTTP/1.1\" 200 0 \"https://lemon-flower-af075f43c47545e6b4248c46905e5188.azurewebsites.net/\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36\"",
"level": "Informational",
"event_stamp_name": "waws-prod-fra-033",
"operation_name": "Microsoft.Web/sites/log",
"event_ip_address": "10.30.0.225",
"event_primary_stamp_name": "waws-prod-fra-033",
"event_stamp_type": "Stamp",
"host": "10-30-0-225",
"location": "Germany West Central",
"category": "AppServiceConsoleLogs",
"container_id": "a9ea19c60625_lemon-flower-af075f43c47545e6b4248c46905e5188"
}
}
}
73 changes: 73 additions & 0 deletions packages/azure_app_service/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,80 @@ https://management.azure.com/ for azure PublicCloud
https://management.usgovcloudapi.net/ for azure USGovernmentCloud
Users can also use this in case of a Hybrid Cloud model, where one may define their own endpoints.

## Setup
To start collecting data with this integration, you need to:
1. Set up an Event Hub namespace and an Event Hub within it. Follow the instructions in the [Azure Event Hubs documentation](https://learn.microsoft.com/en-us/azure/event-hubs/event-hubs-create).
2. Configure diagnostic settings for your Azure App Service to send logs to the Event Hub. Follow the instructions in the [Azure App Service diagnostic settings documentation](https://learn.microsoft.com/en-us/azure/app-service/monitor-diagnostic-logs#send-diagnostic-logs-to-an-event-hub).
3. Create a Blob Storage account to store the offsets/state of the Event Hub messages. Follow the instructions in the [Azure Blob Storage documentation](https://learn.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-portal).
4. Configure the integration with the necessary credentials mentioned in the Requirements section.

## App Service Logs
Collects different types of logs from Azure App Service via Event Hub.

An example event for `app_service` looks as following:

```json
{
"input": {
"type": "azure-eventhub"
},
"agent": {
"name": "EPGETBIW05AD",
"id": "e42ad9e7-fc37-4342-80cc-ee5bcb314f5d",
"ephemeral_id": "65e0aae6-d877-4830-b9f0-10b0ccd39bb9",
"type": "filebeat",
"version": "8.18.3"
},
"@timestamp": "2025-10-28T09:39:57.805Z",
"ecs": {
"version": "8.11.0"
},
"data_stream": {
"namespace": "default",
"type": "logs",
"dataset": "azure_app_service.app_service_logs"
},
"elastic_agent": {
"id": "e42ad9e7-fc37-4342-80cc-ee5bcb314f5d",
"version": "8.18.3",
"snapshot": false
},
"event": {
"agent_id_status": "verified",
"ingested": "2025-10-28T09:40:37Z",
"dataset": "azure_app_service.app_service_logs"
},
"azure-eventhub": {
"sequence_number": 133,
"consumer_group": "$Default",
"offset": 107374190096,
"eventhub": "testeventhub",
"enqueued_time": "2025-10-28T09:40:36.610Z"
},
"tags": [
"azure-appservice",
"forwarded"
],
"azure": {
"resource": {
"id": "/SUBSCRIPTIONS/12CABCB4-86E8-404F-A3D2-1DC9982F45CA/RESOURCEGROUPS/IMERLISHVILI-TEST/PROVIDERS/MICROSOFT.WEB/SITES/LEMON-FLOWER-AF075F43C47545E6B4248C46905E5188"
},
"app_service": {
"result_description": "169.254.129.1 - - [28/Oct/2025:09:39:57 +0000] \"GET /static/favicon.ico HTTP/1.1\" 200 0 \"https://lemon-flower-af075f43c47545e6b4248c46905e5188.azurewebsites.net/\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36\"",
"level": "Informational",
"event_stamp_name": "waws-prod-fra-033",
"operation_name": "Microsoft.Web/sites/log",
"event_ip_address": "10.30.0.225",
"event_primary_stamp_name": "waws-prod-fra-033",
"event_stamp_type": "Stamp",
"host": "10-30-0-225",
"location": "Germany West Central",
"category": "AppServiceConsoleLogs",
"container_id": "a9ea19c60625_lemon-flower-af075f43c47545e6b4248c46905e5188"
}
}
}
```

**ECS Field Reference**

Expand Down
2 changes: 1 addition & 1 deletion packages/azure_app_service/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: "3.0.2"
name: azure_app_service
title: "Azure App Service"
version: "0.7.0"
version: "0.8.0"
source:
license: "Elastic-2.0"
description: "Collect logs from Azure App Service with Elastic Agent."
Expand Down