NAME

Message::Passing::Output::AMQP - output logstash messages to AMQP.

SYNOPSIS

use Message::Passing::Output::AMQP;

my $logger = Message::Passing::Output::AMQP->new;
$logger->consume({data => { some => 'data'}, '@metadata' => 'value' });

# You are expected to produce a logstash message format compatible message,
# see the documentation in Message::Passing for more details.

# Or use directly on command line:
logstash --input STDIN --output AMQP
{"data":{"some":"data"},"@metadata":"value"}

DESCRIPTION

A Message::Passing AnyEvent::RabbitMQ output class.

Can be used as part of a chain of classes with the logstash utility, or directly as a logger in normal perl applications.

METHODS

consume

Sends a message.

SEE ALSO

Message::Passing::AMQP
Message::Passing::Input::AMQP
Message::Passing
AMQP
http://www.zeromq.org/

AUTHOR, COPYRIGHT AND LICENSE

See Message::Passing::AMQP.