From c3aba199f6f6d580392b28f87f93f7aa6c2d2e9f Mon Sep 17 00:00:00 2001 From: Daniel Thayer Date: Wed, 25 Jul 2012 17:40:21 -0500 Subject: [PATCH] Fix build warnings --- scripts/base/frameworks/logging/writers/elasticsearch.bro | 2 +- scripts/policy/tuning/logs-to-elasticsearch.bro | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/base/frameworks/logging/writers/elasticsearch.bro b/scripts/base/frameworks/logging/writers/elasticsearch.bro index a6a485226a..b0e8fac40e 100644 --- a/scripts/base/frameworks/logging/writers/elasticsearch.bro +++ b/scripts/base/frameworks/logging/writers/elasticsearch.bro @@ -23,7 +23,7 @@ export { const index_prefix = "bro" &redef; ## The ES type prefix comes before the name of the related log. - ## e.g. prefix = "bro_" would create types of bro_dns, bro_software, etc. + ## e.g. prefix = "bro\_" would create types of bro_dns, bro_software, etc. const type_prefix = "" &redef; ## The time before an ElasticSearch transfer will timeout. diff --git a/scripts/policy/tuning/logs-to-elasticsearch.bro b/scripts/policy/tuning/logs-to-elasticsearch.bro index c3cc9d5002..b4d16a19a1 100644 --- a/scripts/policy/tuning/logs-to-elasticsearch.bro +++ b/scripts/policy/tuning/logs-to-elasticsearch.bro @@ -6,13 +6,13 @@ export { ## An elasticsearch specific rotation interval. const rotation_interval = 24hr &redef; - ## Optionally ignore any :bro:enum:`Log::ID` from being sent to + ## Optionally ignore any :bro:type:`Log::ID` from being sent to ## ElasticSearch with this script. const excluded_log_ids: set[string] = set("Communication::LOG") &redef; - ## If you want to explicitly only send certain :bro:enum:`Log::ID` + ## If you want to explicitly only send certain :bro:type:`Log::ID` ## streams, add them to this set. If the set remains empty, all will - ## be sent. The :bro:id:`excluded_log_ids` option will remain in + ## be sent. The :bro:id:`LogElasticSearch::excluded_log_ids` option will remain in ## effect as well. const send_logs: set[string] = set() &redef; } @@ -42,4 +42,4 @@ event bro_init() &priority=-5 { Log::add_filter(id, filter); } - } \ No newline at end of file + }