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

fix the empty result when the value of an output field contains a dash/slash + trim prefix with the timestamp and priority for the output #136

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

Issif
Copy link
Member

@Issif Issif commented Feb 23, 2024

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area build

/area tests

What this PR does / why we need it:

An user noticed empty result when we search for an output field value with a / or -. It was fixed for the tags and hostnames not for other fields.

Moreover, I added a regexp to remove for the output field the timestamp + priority, it's a redundant info in the event board. It also so save some space.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

These changes will imply to flush all data, the schema in redisearch must be replaced.

@poiana poiana added kind/bug Something isn't working dco-signoff: yes kind/feature New feature or request labels Feb 23, 2024
@poiana poiana requested review from cpanato and fjogeleit February 23, 2024 12:22
…h/slash + trim prefix with the timestamp and priority for the output

Signed-off-by: Thomas Labarussias <[email protected]>
@Issif Issif force-pushed the fix-search-dash-slash branch from 0732860 to 7ce682b Compare February 23, 2024 12:31
@poiana
Copy link

poiana commented Feb 23, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fjogeleit, Issif

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana
Copy link

poiana commented Feb 23, 2024

LGTM label has been added.

Git tree hash: 4642ea92b0834542f2f53467b6d02bfd4e6bb3e1

@poiana poiana merged commit e3b38d3 into master Feb 23, 2024
4 checks passed
@poiana poiana deleted the fix-search-dash-slash branch February 23, 2024 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants