Skip to main content

Powerful pipes Notifier tool

Project description


Powerful Pipes Notifier - Multi-Channel notification tool with the power of UNIX Pipes


License Pypi Python Versions

Logo

In a nutshell Powerful Pipes Notifier is a notification tool to forward STDIN data to different destinations.

Install

> pip install powerful-pipes-notifier 

Quick Start

Powerful pipes notifier send to a destination the stdin data, line by line.

Examples:

HTTP Web Hook

> notifier -d http://localhost/webhook

Web Socket Hook

> notifier ws://localhost/websocket-hook

Allowed destinations

Currently, these are the implemented schemas:

  • http://URI -> webhook
  • ws://URI -> websocket
  • mongodb://user:password@host:port/?db=DATABASE&collection=COLLECTION

MongoDB examples

> docker-compose -f docker-compose.mongo.yaml up -d
> cat examples/localhost_meta.txt | notifier -d "mongodb://root:example@127.0.0.1:27900/?db=notifier&collection=logs" 

NOTE: Pay attention of symbol "?" in the URI after the port slash.

Rules engine

You can set a rule that tell to notifier if notify or not.

Rules are based in JSONPath standard and will try to match it in the input JSON data.

Usage example:

> notifier -d http://localhost/webhook -R "_meta.dataSource.sourceName == 'har asdf'"
> notifier -d http://localhost/webhook -R "_meta.summary.current == _meta.summary.total"

Documentation

You can find the complete documentation at: Documentation.

Authors

Powerful Pipes Notifier was made by 42Crunch Research Team:

License

Powerful Pipes Notifier is Open Source and available under the AGPLv3+.

Contributions

Contributions are very welcome. See CONTRIBUTING.md or skim existing tickets to see where you could help out.

Acknowledgements

Project logo thanks to Pipe icons created by starline - Flaticon .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

powerful-pipes-notifier-1.0.4.tar.gz (13.1 kB view details)

Uploaded Source

File details

Details for the file powerful-pipes-notifier-1.0.4.tar.gz.

File metadata

File hashes

Hashes for powerful-pipes-notifier-1.0.4.tar.gz
Algorithm Hash digest
SHA256 e0c596cfeccd13642f567f392ca17cdc5b27cb85a373fca3b2d9a3e33c6e221a
MD5 4501e89d77176a138db9fb26eedecfab
BLAKE2b-256 b0007657c5018d2ad550717a9d33d1f3985d88cb88c7d70f22ec4b7799a63918

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page