Graylog2 / Graylog2/graylog2-server

Equivalents to: subject_prefix

Open
#3,419 0 comments 0 reactions 0 assignees View on GitHub
feature triaged
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

Previous versions of Graylog allowed default values for:
transport_email_subject_prefix = XXX
transport_email_from_email = bob@bob.com
transport_email_from_name = [Graylog Bob]

Later versions removed this feature meaning it is programmatically difficult to provide indicators are email 'routing' when you run multiple environments and have different names/ status and roles for those environments.

Currently: "Graylog alert for stream: ${stream.title}: ${check_result.resultDescription}" provides nothing in the subject to identify the origin.

If "Graylog alert for stream" were the default transport_email_subject_prefix, then I could alter it to match whet we require on build.

The same applies for 'Sender' - default it to 'graylog@example.org' but better if I could set a default for the email and 'name' using transport_email_from_email/ transport_email_from_name.

## Expected Behavior

## Current Behavior

## Possible Solution

## Steps to Reproduce (for bugs)

1.
2.
3.
4.

## Context

## Your Environment

* Graylog Version: 2.2.0 beta 6
* Elasticsearch Version: n/a
* MongoDB Version: n/a
* Operating System: AWS Linux
* Browser version: n/a

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.