mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 07:38:19 +00:00
Added sending messages to ElasticSearch over HTTP.
This commit is contained in:
parent
95f000738b
commit
7bee0b0d8e
11 changed files with 266 additions and 127 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue