Skip to content

Instantly share code, notes, and snippets.

@corey-cole
corey-cole / main.py
Created April 14, 2024 21:42
Get the manifest of the latest S3 inventory for a given bucket/inventory config
import json
from datetime import datetime, timedelta, timezone
from pprint import pprint
from typing import Optional, Tuple, TYPE_CHECKING
import boto3
from botocore.exceptions import ClientError
if TYPE_CHECKING:
from mypy_boto3_s3.client import S3Client
@corey-cole
corey-cole / logstash-output.txt
Created March 27, 2015 21:41
Logstash and SAS
Logstash startup completed
2015-03-27T21:40:12.772Z localhost.localdomain NOTE: There were 376935 observations read from the data set RMTGT.X_EXTND_PRICE_GRID_TX951.
2015-03-27T21:40:12.779Z localhost.localdomain NOTE: There were 1320 observations read from the data set WORK.WBE0CKXK.
2015-03-27T21:40:12.781Z localhost.localdomain NOTE: DATA statement used (Total process time):
real time 0.16 seconds
cpu time 0.17 seconds