Graylog2 / Graylog2/graylog2-server

Decorators don't show in search result messages until page refresh

Open
#23,004 1 comment 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

When viewing the Search page, selecting a stream and refreshing the search results, stream-specific detectors should show up for each message when the messages are expanded.

## Current Behavior

For the decorator fields to show, a full page refresh seems to be needed after selecting a stream, which appears to be a bug.

## Steps to Reproduce (for bugs)

1. Define a Format String decorator for the Default Stream. For example:

Image

2. View Search page, select the Default Stream, click the magnifying glass to refresh the search.
3. Expand a message, and note that the decorated field is not present.

Image

5. Refresh the page, expand a message again and note that the decorated field is present (`decorated_source` in this case).
Image

## Context

## Your Environment

* Graylog Version: 6.3-SNAPSHOT, but same issue happened on 6.2, and believe I saw the same on 6.1 but I am not certain.

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.