Code Monkey home page Code Monkey logo

hepic-cloudwatch's Introduction

HEP PUBSUB AWS Cloudwatch integration

"gluey"

HOMER Seven allows external agents to subscribe capabilities to provide "on-demand" session details from external APIs, databases, etc. to argument internally available data without requiring data duplication and allowing creative use of the core HEP platform.

So What?

This application publishes itself as an endpoint for the HEP Pub-Sub API, announcing its capabilities to asyncronously return on-demand complementary information about correlated sessions. This particular implementation is a simple adaptation of the hello-world example.

What does this do?

This first stab at integration of homer with AWS cloudwatch allows http requests like this:

wget -qO - --post-data='{"filterPattern":"5f73b856-0000-31b17963-0ca0cb1b-6cb21796"}' --header='Content-Type:application/json' 'http://sipdr4000.tst2.livevox.net:18088/cloudwatch/us-east-1/sipdr/sipcop4003'

where the url path after 'cloudwatch' indicates aws region, log group and individual instance respectively. The filterPattern will be used in a free text search.

Install
npm install
Configure

Configure your HOMER 7 API and local Endpoint address in file config.js. Configure your AWS credentials in file config.json (confusing, I know, will clean up later) in the following format:

{ "accessKeyId": "[AWS key]", "secretAccessKey": "[AWS secret]", "region": "[AWS region]" }
Initialize
npm start

hepic-cloudwatch's People

Contributors

adubovikov avatar ewerkhoven avatar lmangani avatar

Watchers

 avatar  avatar

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.