Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reyjrar/poe-component-client-eris
Library for interfacing with syslog in style used for my eris project
https://github.com/reyjrar/poe-component-client-eris
Last synced: about 1 month ago
JSON representation
Library for interfacing with syslog in style used for my eris project
- Host: GitHub
- URL: https://github.com/reyjrar/poe-component-client-eris
- Owner: reyjrar
- Created: 2011-07-08T21:14:33.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2018-09-19T04:14:13.000Z (over 6 years ago)
- Last Synced: 2023-03-11T02:08:40.041Z (almost 2 years ago)
- Language: Perl
- Homepage:
- Size: 24.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.mkdn
- Changelog: Changes
Awesome Lists containing this project
README
# NAME
POE::Component::Client::eris - POE Component for reading eris events
# VERSION
version 1.4
# SYNOPSIS
POE session for integration with the eris event correlation engine.
use POE::Component::Client::eris;
my $eris_sess_id = POE::Component::Client::eris->spawn(
RemoteAddress => 'localhost', #default
RemotePort => '9514', #default
Alias => 'eris_client', #default
Subscribe => [qw(snort dhcpd)], # REQUIRED (and/or Match)
Match => [qw(devbox1 myusername error)], # REQUIRED (and/or Subscribe)
MessageHandler => sub { ... }, # REQUIRED
);
...
POE::Kernel->run();For use with a server running the POE::Component::Server::eris output.
# EXPORT
POE::Component::Client::eris does not export any symbols.
# FUNCTIONS
## spawn
Creates the POE::Session for the eris correlator.
Parameters:
RemoteAddress => 'localhost', \#default
RemotePort => '9514', \#default
Alias => 'eris\_client', \#default
Subscribe => \[qw(snort dhcpd)\], \# REQUIRED (and/or Match)
Match => \[qw(devbox1 myusername error)\], \# REQUIRED (and/or Subscribe)
MessageHandler => sub { ... }, \# REQUIRED
ReturnType => 'hash', \# default, or 'string'# BUGS
Please report any bugs or feature requests to
`bug-poe-component-client-eris at rt.cpan.org`, or through the web interface at
[http://rt.cpan.org/NoAuth/ReportBug.html?Queue=POE-Component-Client-eris](http://rt.cpan.org/NoAuth/ReportBug.html?Queue=POE-Component-Client-eris).
I will be notified, and then you'll automatically be notified of progress on
your bug as I make changes.# SUPPORT
You can find documentation for this module with the perldoc command.
perldoc POE::Component::Client::eris
You can also look for information at:
- AnnoCPAN: Annotated CPAN documentation
[http://annocpan.org/dist/POE-Component-Client-eris](http://annocpan.org/dist/POE-Component-Client-eris)
- CPAN Ratings
[http://cpanratings.perl.org/d/POE-Component-Client-eris](http://cpanratings.perl.org/d/POE-Component-Client-eris)
- RT: CPAN's request tracker
[http://rt.cpan.org/NoAuth/Bugs.html?Dist=POE-Component-Client-eris](http://rt.cpan.org/NoAuth/Bugs.html?Dist=POE-Component-Client-eris)
- Search CPAN
[http://search.cpan.org/dist/POE-Component-Client-eris](http://search.cpan.org/dist/POE-Component-Client-eris)
- See also
[http://search.cpan.org/dist/POE-Component-Server-eris](http://search.cpan.org/dist/POE-Component-Server-eris)
# ACKNOWLEDGEMENTS
# AUTHOR
Brad Lhotsky
# COPYRIGHT AND LICENSE
This software is Copyright (c) 2012 by Brad Lhotsky.
This is free software, licensed under:
The (three-clause) BSD License