Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

winston-transport-openobserve

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

winston-transport-openobserve

Winston transport for openobserve.ai

  • 1.0.5
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
23
increased by76.92%
Maintainers
1
Weekly downloads
 
Created
Source

Welcome to winston-transport-openobserve 👋

Version Documentation License: MIT

Winston transport for openobserve.ai

🏠 Homepage

Demo

Install

npm install winston-transport-openobserve

Usage

const transport = new OpenObserveTransport({
  node: "https://api.openobserve.ai",
  organization: "test",
  stream: "default",
  auth: {
    username: "user@gmail.com",
    password: "pwd",
  },
});

const logger = winston.createLogger({
  transports: [new winston.transports.Console(), transport],
  format: winston.format.combine(
    winston.format.timestamp(),
    winston.format.json()
  ),
  level: "debug",
});

logger.info("Hello world");

Author

👤 Shahid Kamal

Show your support

Give a ⭐️ if this project helped you!

Keywords

FAQs

Package last updated on 06 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc