GithubHelp home page GithubHelp logo

zachtrice / aws-apache-to-json Goto Github PK

View Code? Open in Web Editor NEW
2.0 0.0 0.0 65 KB

AWS Kinesis Firehose: Apache Log to JSON

License: MIT License

JavaScript 100.00%
aws aws-lambda kineses apachelog aws-kinesis-firehose aws-kinesis aws-kinesis-stream

aws-apache-to-json's Introduction

AWS Kinesis Firehose Apache Log to JSON Processor

A Node.JS processor that converts Apache logs in combined log format into JSON. These files can be sent to AWS Elasticsearch.

Getting started

Before you begin, you will need to rename the resources.yml.sample file at the top-level directory of this project to resources.yml. This is a simple YAML file that includes the log groups, log streams, and S3 buckets that you want to allow the deployed AWS Lambda function to access.

Install

Dependencies

The following dependencies will need to be installed first to build this package:

After dependencies have been installed, run the following from a bash terminal:

npm install  

Usage

sls deploy --stage=dev  

This will deploy an AWS Lambda function into the us-east-1 region. You will then need to include the ARN for that AWS Lambda in your Kinesis Firehose configuration by enabling data transformation and pointing it at the Lambda function.

Acknowledgements

I would like to thank @uw-it-edm and the work done on the kinesis-firehose-apachelog-to-json repository which was the starting point for this project. Much of the code from this original repository was borrowed and refactored.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.