Skip to content

Instantly share code, notes, and snippets.

@cloudchopshop
cloudchopshop / s3_ELB_to_Sentinel.py
Created September 29, 2020 15:57
Export ELB logs stored in s3 to Azure Sentinel / log analytics workspace using lambda new s3 file trigger
from io import StringIO, BytesIO
import boto3
import gzip
import re, sys, io, os
import json
import datetime
import hashlib
import hmac
import base64
import urllib3