diff options
author | osgn422w <gervais-martial.ngueko@intl.att.com> | 2019-07-17 16:17:13 +0200 |
---|---|---|
committer | osgn422w <gervais-martial.ngueko@intl.att.com> | 2019-07-17 16:24:58 +0200 |
commit | 0ce11eaeca48930d0203545a5e4206349a11f01b (patch) | |
tree | bbe5b1c792043fd2dafded1bcdb12449752bd995 /src/main/docker/logstash | |
parent | 493c3839fb6807512218165fd8a3a6efe1933fb9 (diff) |
add searchguard
add authentication to elk with searchguard
Issue-ID: CLAMP-419
Change-Id: I66bca485750e3377db10f6f43efb7f741a42c17d
Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
Diffstat (limited to 'src/main/docker/logstash')
-rw-r--r-- | src/main/docker/logstash/pipeline/logstash.conf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/docker/logstash/pipeline/logstash.conf b/src/main/docker/logstash/pipeline/logstash.conf index 6fe9d9691..5c1d47d18 100644 --- a/src/main/docker/logstash/pipeline/logstash.conf +++ b/src/main/docker/logstash/pipeline/logstash.conf @@ -238,6 +238,8 @@ output { elasticsearch { codec => "json" hosts => ["${elasticsearch_base_url}"] + user => "${LOGSTASH_USR}" + password => "${LOGSTASH_PWD}" index => "errors-%{+YYYY.MM.DD}" doc_as_upsert => true } @@ -246,6 +248,8 @@ output { elasticsearch { codec => "json" hosts => ["${elasticsearch_base_url}"] + user => "${LOGSTASH_USR}" + password => "${LOGSTASH_PWD}" document_id => "%{requestID}" index => "events-cl-%{+YYYY.MM.DD}" # creates daily indexes for control loop doc_as_upsert => true @@ -256,6 +260,8 @@ output { elasticsearch { codec => "json" hosts => ["${elasticsearch_base_url}"] + user => "${LOGSTASH_USR}" + password => "${LOGSTASH_PWD}" index => "events-raw-%{+YYYY.MM.DD}" # creates daily indexes doc_as_upsert => true } |