diff --git a/fylgja.example.yml b/fylgja.example.yml index fc66c2c..344c3df 100644 --- a/fylgja.example.yml +++ b/fylgja.example.yml @@ -3,8 +3,8 @@ # Slack settings slack: - bot_token: "xoxb-TOKEN_HERE" - signing_secret: "SIGNING_SECRET_HERE" + bot_token: "xoxb-TOKEN" + signing_secret: "SIGNING_SECRET" # Server settings server: @@ -26,10 +26,33 @@ sigma: url: "https://github.com/SigmaHQ/sigma.git" branch: "main" -# Elastic settings -elastic: - api-endpoint: "http://localhost:5601/api/detection_engine/rules" - elastic-authentication-credentials: "elastic:changeme" +# Elasticsearch settings +elasticsearch: + protocol: "http" + hosts: ["localhost:9200"] + username: "elastic" + password: "changeme" + api_endpoint: "http://localhost:5601/api/detection_engine/rules" + spaces: [ + { + name: "Default", + id: "default", + indexPattern: "logs-*", + emoji: "🔍" + }, + { + name: "space2", + id: "space2", + indexPattern: ["space2-*", "test2-*"], + emoji: "🟢" + }, + { + name: "space3", + id: "space3", + indexPattern: "space3-*", + emoji: "🐧" + } + ] # Logging settings logging: