Skip to content
This repository has been archived by the owner on Mar 18, 2019. It is now read-only.
/ loggly-rs Public archive

Unofficial Rust library for the Loggly API

License

Notifications You must be signed in to change notification settings

pwrdwnsys/loggly-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

loggly-rs

NOTE: This library is unmaintained and has now been archived.

Unofficial Rust library for the Loggly API

crates.io docs.rs Build Status

loggly-rs implements an HTTPS Event Endpoint for sending messages to the Loggly RESTful API. To use loggly-rs you must first create a Loggly account and generate an API key, which can be found within the account management interface. For more information on the API, see the Loggly API Documentation.

loggly-rs is available on crates.io and can be included in your Cargo.toml as follows:

[dependencies]
loggly = "0.1.0"

Build Dependencies

This library utilises hyper, which in turn requires the OpenSSL headers to be available during compilation. For more information on how to configure OpenSSL, see: rust-openssl.

Documentation

Documentation can be found at the official documentation repository: https://docs.rs/loggly

Example

An example of using this library can be found in the examples directory, which can be run as follows:

cargo run --example simple

You will need to specify your authorised Loggly API key in order to use the example. For production usage, you should specify your API key through the process environment (e.g. std::env::var), the command line (e.g. clap), or by parsing a configuration file (e.g. toml).

Feedback and Enhancements

I welcome feedback and enhancements to this library. Please create a Github Issue or a Pull Request!

License

MIT