Skip to content

Repository files navigation

AppLogs-Azure-Function

This repository has Site24x7 Azure functions for collecting logs from Microsoft Azure Event Hubs, Service Bus, and Blob Storage, along with Azure ARM templates for automated deployment.

All functions share a common parser (shared_code/log_processor.py) for Site24x7 log type config resolution, JSON path parsing, filtering, masking, hashing, derived fields, and upload. Each trigger folder contains only the trigger-specific glue code.

Function Description Deployment
Site24x7 Event Hub Function Collects and forwards Azure diagnostics logs from Event Hub to Site24x7 AppLogs. Deploy to Azure
Site24x7 Service Bus Function Collects and forwards logs from an Azure Service Bus queue to Site24x7 AppLogs. Deploy to Azure
Site24x7 Storage Blob Function Collects and forwards Azure logs (diagnostic blobs, NSG / VNET flow logs, plain log files) from Azure Blob Storage to Site24x7 AppLogs. Deploy to Azure

Refer to each function's README for the full list of deployment input parameters.

Repository layout

shared_code/          Common parser used by every trigger
  log_processor.py    Config load, parse, filter, mask/hash, upload to Site24x7
  nsg_parser.py       NSG flow-log tuple parser
  vnet_parser.py      VNET flow-log tuple parser
EventHubs_Logs/       Event Hub trigger (thin wrapper)
ServiceBus_Logs/      Service Bus queue trigger (thin wrapper)
Blob_Logs/            Blob trigger (download, checkpointing) + shared parser
deployment/           ARM templates, one per source
test/                 Utility script to send test messages to a Service Bus queue

For step-by-step configuration help, see the Site24x7 documentation.

About

This repository contains a collection of Azure functions to collect data and send to Site24x7 AppLogs

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages