Graylog2 / graylog2-server

Free and open log management
https://www.graylog.org
Other
7.21k stars 1.05k forks source link

Set Field Type feature fails to apply to illuminate indices, no errors shown in UI, no error logged #19766

Open drewmiranda-gl opened 5 days ago

drewmiranda-gl commented 5 days ago

Using the Graylog that allows users to declare explicit field type mappings for OpenSearch. When doing so, you can choose which index sets to apply this mapping to.

image

In this example, Illuminate index sets are shown as eligible for this change. However, up further inspection, after clicking "Change field type"

image

Graylog does save this mapping in the index_sets MongoDB collection: image

Expected Behavior

Current Behavior

Steps to Reproduce (for bugs)

The following assumes you have at least 1 illuminate processing pack installed.

  1. Go to the search page
  2. click on the "X" in the left most menu to open the fields list
  3. Choose any field, click on it, select Change field type
  4. Bulk actions / Cancel selection to deselect all index sets
  5. Select an illuminate index set
  6. click "Change field type"

Context

Discovered this while doing research and testing for how this feature works and how it behaves.

Your Environment

Please let me know if there are any questions.