feat: loggers + search engines models

This commit is contained in:
Nicolas Giard
2018-09-01 15:15:44 -04:00
parent 9c6a4f6c20
commit 5919d14670
31 changed files with 433 additions and 40 deletions

View File

@@ -0,0 +1,16 @@
key: loggly
title: Loggly
description: Log Analysis / Log Management by Loggly, the world's most popular log analysis & monitoring in the cloud.
author: requarks.io
logo: https://static.requarks.io/logo/loggly.svg
website: https://www.loggly.com/
defaultLevel: warn
props:
token:
type: String
title: Token
hint: Loggly Token
subdomain:
type: String
title: Subdomain
hint: Loggly Subdomain

View File

@@ -5,9 +5,6 @@ const winston = require('winston')
// ------------------------------------
module.exports = {
key: 'loggly',
title: 'Loggly',
props: ['token', 'subdomain'],
init (logger, conf) {
require('winston-loggly-bulk')
logger.add(new winston.transports.Loggly({