@kontajner/elasticsearch-analytics
TypeScript icon, indicating that this package has built-in type declarations

0.0.9 • Public • Published

elasticsearch-analytics

This module implements AnalyticsLogger interface specifically for logging events in elasticsearch instance.

Usage in kontajner.config.js

// kontajner.config.js
const ElasticSearchAnalytics = require('elasticsearch-analytics');

const ANALYTICS_KEY = 'kontajner-example';

module.exports = {
    ...
    analytics: [ElasticSearchAnalytics {
        endpoint: process.env.ELASTICSEARCH_ENDPOINT,
        username: process.env.ELASTICSEARCH_USERNAME,
        password: process.env.ELASTICSEARCH_PASSWORD,
        projectKey: ANALYTICS_KEY,
    }],
}

Readme

Keywords

none

Package Sidebar

Install

npm i @kontajner/elasticsearch-analytics

Weekly Downloads

0

Version

0.0.9

License

MIT

Unpacked Size

6.21 kB

Total Files

11

Last publish

Collaborators

  • tbliss
  • diervo