# s3-access-log-parser

> easy way to parse the S3 access log format

Latest version **0.0.2** (published 2016-10-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install s3-access-log-parser
pnpm add s3-access-log-parser
yarn add s3-access-log-parser
bun add s3-access-log-parser
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2016-10-18 |
| First published | 2015-09-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Chad Scira |
| Maintainers | icodeforlove |

## Links

- npm: https://www.npmjs.com/package/s3-access-log-parser
- Repository: https://github.com/icodeforlove/s3-access-log-parser
- Homepage: https://github.com/icodeforlove/s3-access-log-parser#readme
- Issues: https://github.com/icodeforlove/s3-access-log-parser/issues
- npm.io page: https://npm.io/package/s3-access-log-parser

## Dependencies (2)

- [moment](https://npm.io/package/moment.md) ^2.10.6
- [string-saw](https://npm.io/package/string-saw.md) 0.0.15

## Recent versions

- 0.0.2 (latest) — 2016-10-18
- 0.0.1 — 2015-09-30

## README

# s3-access-log-parser [![Build Status](https://travis-ci.org/icodeforlove/s3-access-log-parser.png?branch=master)](https://travis-ci.org/icodeforlove/s3-access-log-parser)

provides an easy way to parse the S3 access log format

## install

```
npm install s3-access-log-parser
```

## examples

```javascript
var s3alp = require('s3-access-log-parser');

s3alp('79a59df900b949e55d96a1e698fbacedfd6e09d98eacf8f8d5218e7cd47ef2be mybucket [06/Feb/2014:00:00:38 +0000] 192.0.2.3 79a59df900b949e55d96a1e698fbacedfd6e09d98eacf8f8d5218e7cd47ef2be 3E57427F3EXAMPLE REST.GET.VERSIONING - "GET /mybucket?versioning HTTP/1.1" 200 - 113 - 7 - "-" "S3Console/0.4" -');
```

would return 

```
{
	bucket_owner: '79a59df900b949e55d96a1e698fbacedfd6e09d98eacf8f8d5218e7cd47ef2be',
	bucket: 'mybucket',
	time: new Date('Thu Feb 06 2014 07:00:38 GMT+0700 (ICT)'),
	remote_ip: '192.0.2.3',
	requester: '79a59df900b949e55d96a1e698fbacedfd6e09d98eacf8f8d5218e7cd47ef2be', 
	request_id: '3E57427F3EXAMPLE', 
	operation: 'REST.GET.VERSIONING', 
	request_uri: 'GET /mybucket?versioning HTTP/1.1', 
	http_status: 200, 
	bytes_sent: 113, 
	total_time: 7, 
	user_agent: 'S3Console/0.4'
}
```

---
_Source: https://npm.io/package/s3-access-log-parser · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
