Łukasz Kamiński 55cd60a696 Record query history when using Add/Exclude from query actions (#24932)
* Record query history when using Add/Exclude from query actions

Queries modified via "Add to query" or "Exclude from query" widget actions
were not being saved to the query history. This fix ensures that when users
click these actions, the modified query is recorded via the query strings API,
making it available in the query history dropdown for future use.

The history recording is performed asynchronously (fire-and-forget) to avoid
adding network latency to the UI update.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* Add changelog entry for query history fix

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* recordQueryString extracted to a separate file to remove repetition

---------

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-06 12:56:23 +01:00
2025-06-18 16:05:39 +02:00
2015-02-03 11:54:05 +01:00
2022-12-28 10:08:36 +01:00
2016-03-07 15:56:59 -06:00
2020-11-16 18:41:59 +01:00
2024-12-05 11:04:28 +01:00

Graylog

License Maven Central

Welcome! Graylog is a free and open log management platform.

You can read more about the project on our website and check out the documentation on the documentation site.

Issue Tracking

Found a bug? Have an idea for an improvement? Feel free to add an issue.

Contributing

Help us build the future of log management and be part of a project that is used by thousands of people out there every day.

Follow the contributors guide and read the contributing instructions to get started.

Do you want to get paid for developing our free and open product? Apply for one of our jobs!

Staying in Touch

Come chat with us in the #graylog channel on freenode IRC, the #graylog channel on libera or create a topic in our community discussion forums.

License

Graylog is released under version 1 of the Server Side Public License (SSPL).

Languages
Java 69%
TypeScript 30.6%
JavaScript 0.2%