elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.65k stars 8.23k forks source link

GSUB Processor in UI cannot deal with spaces as values. #191920

Closed philippkahr closed 1 week ago

philippkahr commented 2 months ago

Kibana version: 8.15.0

Describe the bug:

Cannot create Gsub processor in ingest pipeline with a space as pattern. Over API it works, like this:

 {
        "gsub": {
          "field": "",
          "pattern": " ",
          "replacement": ""
        }
      } 

Steps to reproduce:

  1. Create new pipeline
  2. Select GSUB processor
  3. Enter a single space symbol. Try to save.

Expected behavior: That I can replace space symbols with whatever I want.

Screenshots (if relevant):

Image

Image

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

Any additional context:

elasticmachine commented 2 months ago

Pinging @elastic/kibana-management (Team:Kibana Management)