s3-time-stream

1.0.3 • Public • Published

s3-time-stream

cli tool. stream an exact time range from logs stored in s3. find the time segment with binary search so you download the minimum data possible.

s3-time-stream --bucket log-bucket --start 2017-04-27T16:08:00.212Z --end 2017-04-27T16:08:02.212Z

expects that logs are stored in s3 with date+hour prefix.

s3://bucket/2017-04-19T20

expects log lines to start with date in this format right now.

<134>2017-04-27T16:08:00Z

there can be many logs per hour they will be streamed in time order even if they overlap.

both of these things should be configurable later. e_notime

Readme

Keywords

none

Package Sidebar

Install

npm i s3-time-stream

Weekly Downloads

0

Version

1.0.3

License

ISC

Unpacked Size

9.06 kB

Total Files

4

Last publish

Collaborators

  • soldair