Added sending messages to ElasticSearch over HTTP.

This commit is contained in:
Vlad Grigorescu 2012-06-03 22:07:20 -04:00
parent 95f000738b
commit 7bee0b0d8e
11 changed files with 266 additions and 127 deletions

View file

@ -17,7 +17,7 @@
#include "writers/Ascii.h"
#include "writers/None.h"
#ifdef USE_ELASTICSEARCH
#ifdef INSTALL_ELASTICSEARCH
#include "writers/ElasticSearch.h"
#endif
@ -40,8 +40,8 @@ WriterDefinition log_writers[] = {
{ BifEnum::Log::WRITER_NONE, "None", 0, writer::None::Instantiate },
{ BifEnum::Log::WRITER_ASCII, "Ascii", 0, writer::Ascii::Instantiate },
#ifdef USE_ELASTICSEARCH
{ BifEnum::Log::WRITER_ASCII, "ElasticSearch", 0, writer::ElasticSearch::Instantiate },
#ifdef INSTALL_ELASTICSEARCH
{ BifEnum::Log::WRITER_ELASTICSEARCH, "ElasticSearch", 0, writer::ElasticSearch::Instantiate },
#endif
#ifdef USE_DATASERIES