From f841243fd22f15e6b3a00d9666386330cde9643a Mon Sep 17 00:00:00 2001 From: Suzuki Shunsuke Date: Sun, 9 Feb 2020 15:47:52 +0900 Subject: [PATCH] docs: upgrade Graylog of example and fix example --- examples/v0.12/docker-compose.yml | 6 +++--- examples/v0.12/event_definition.tf | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/examples/v0.12/docker-compose.yml b/examples/v0.12/docker-compose.yml index 19120182..74eb7838 100644 --- a/examples/v0.12/docker-compose.yml +++ b/examples/v0.12/docker-compose.yml @@ -3,12 +3,12 @@ version: '3' services: # MongoDB: https://hub.docker.com/_/mongo/ mongo: - image: mongo:3.6.15-xenial + image: mongo:3.6.17-xenial networks: - graylog # Elasticsearch: https://www.elastic.co/guide/en/elasticsearch/reference/6.x/docker.html elasticsearch: - image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.8.2 + image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.8.5 environment: - http.host=0.0.0.0 - transport.host=localhost @@ -22,7 +22,7 @@ services: - graylog # Graylog: https://hub.docker.com/r/graylog/graylog/ graylog: - image: graylog/graylog:3.1.2 + image: graylog/graylog:3.2.1 environment: # CHANGE ME (must be at least 16 characters)! - GRAYLOG_PASSWORD_SECRET=somepasswordpepper diff --git a/examples/v0.12/event_definition.tf b/examples/v0.12/event_definition.tf index d7321fbf..d70003c9 100644 --- a/examples/v0.12/event_definition.tf +++ b/examples/v0.12/event_definition.tf @@ -7,6 +7,7 @@ resource "graylog_event_definition" "test" { { "type": "aggregation-v1", "query": "test", + "query_parameters": [], "streams": [ "${graylog_stream.test.id}" ], @@ -53,6 +54,7 @@ resource "graylog_event_definition" "test2" { { "type": "aggregation-v1", "query": "test", + "query_parameters": [], "streams": [ "${graylog_stream.test.id}" ],