NAME
XAS::Collector::Output:::Socket::Logstash - Send output to a logstash server
SYNOPSIS
use XAS::Collector::Output::Socket::Logstash;
my $output = XAS::Collector::Output::Socket::Logstash->new(
-alias => 'output-logstash',
);
DESCRIPTION
This module will open and maintain a connection to a logstash server.
METHODS
new
This module inherits from XAS::Collector::Output::Socket::Base and takes the same parameters.
PUBLIC EVENTS
store_data(OBJECT, ARG0...ARG2)
This event will trigger the sending of packets to a logstash instance.
- OBJECT
-
A handle to the current object.
- ARG0
-
The data to be stored within the database.
- ARG1
-
The acknowledgement to send back to the message queue server.
- ARG2
-
The input to return the ack too.
SEE ALSO
AUTHOR
Kevin L. Esteb, <kevin@kesteb.us>
COPYRIGHT AND LICENSE
Copyright (c) 2012-2015 Kevin L. Esteb
This is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. For details, see the full text of the license at http://www.perlfoundation.org/artistic_license_2_0.