Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decorators don't apply on Default Search page #21165

Open
Bendolfc opened this issue Dec 11, 2024 · 3 comments
Open

Decorators don't apply on Default Search page #21165

Bendolfc opened this issue Dec 11, 2024 · 3 comments

Comments

@Bendolfc
Copy link

Bendolfc commented Dec 11, 2024

When a decorator is created for the Default search, it doesn't seem to take affect.

Expected Behavior

Decorators created for default search should apply on /search page

Current Behavior

Decorator is not applied, the field is not created or modified.

Possible Solution

N/A

Steps to Reproduce (for bugs)

  1. Create decorator for Default Search
  2. Perform search on /search page

You will observe no decorator applied

Context

I am finally getting rid of an old Graylog 2 install where we make extensive use of decorators on the search page. I need to replicate those decorators but the only way I can get decorators to apply currently is to go in and search in a stream rather than on /search.

Your Environment

  • Graylog Version: 6.1.4

Image

It may be that this is no longer supported when it was years ago, but the definition of default search suggests it should. If not, it is a big step backwards in usability,

@Bendolfc Bendolfc added the bug label Dec 11, 2024
@kmerz kmerz added the triaged label Dec 11, 2024
@kmerz
Copy link
Member

kmerz commented Dec 11, 2024

With the version jump from Graylog 2 to 6.1.4 it sounds like a bug, but I would see at as a feature request for the new search.

@Bendolfc
Copy link
Author

Yes, its entirely possible DEFAULT_SEARCH on the UI doesn't mean what I assumed it does.

Thinking about it logically though, even if that was the intent of Default Search, it probably doesn't make much sense as applying decorators to some types of logs as for some they would make no sense. It would make more sense to just apply the relevant streams decorator for each log entry that is returned.

For now, I'll educate my users to navigate to the relevant stream search to get the decorated results.

@drewmiranda-gl
Copy link
Member

For what its worth i went back testing each Graylog version and the most recent version I could get this to work on:
Image

Is Graylog 4.3

I was able to replicate this bug with 5.0, 5.1, 5.2, 6.0, 6.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants