Graylog2 / Graylog2/graylog2-server

Difficult to add mongodb lookup entry key values with spaces

Open
#8,191 0 comments 0 reactions 0 assignees View on GitHub
bug to-verify triaged User Experience
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

When manually entering key value pairs in a MongoDB lookup the interface doesn't want to let you use spaces.

## Expected Behavior

You should be able to use space characters in keys. If you load key values with spaces through the API there are no issues.

## Current Behavior

The key values text field won't allow you to add spaces unless you type out all of the characters then go back and insert the spaces.

## Possible Solution

## Steps to Reproduce (for bugs)

1. Create a MongoDB lookup adapter
2. Go to "Create/update entries" and attempt to add a key value with spaces

## Context

## Your Environment

* Graylog Version: 3.3.0
* Elasticsearch Version: 6.8.9
* MongoDB Version: 4.0.18
* Operating System: Ubuntu 18.04
* Browser version: Firefox 76.0.1, Chromium 83.0.4103.61

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.