feat: loggers + search engines models
This commit is contained in:
16
server/modules/logging/loggly/definition.yml
Normal file
16
server/modules/logging/loggly/definition.yml
Normal 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
|
@@ -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({
|
||||
|
Reference in New Issue
Block a user