Graylog2 / Graylog2/graylog2-server

Event Definition: Template Custom Field

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

Description

## Expected Behavior
It should validate the syntax for a Template Custom Field.

## Current Behavior
A user can enter invalid syntax and save it, which prevents the event definition from being executed and causes error messages in the logs.

## Steps to Reproduce (for bugs)
1. Start Creating an event definition
2. On the wizard step `Fields`, add a template custom field with the syntax `${source. asdf}`
3. Save the event definition

## Context
The user might miss important alerts or events if the event definition is not executed.

## Your Environment
* Graylog Version: 6.1

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.