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

add support for condition on bool type #5659

Open
TomonoriSoejima opened this issue Nov 21, 2017 · 2 comments

Comments

@TomonoriSoejima
Copy link

commented Nov 21, 2017

Currently

Doc does not support bool type.

With the equals condition, you can compare if a field has a certain value. The condition accepts only an integer or a string value.

When I did so, I got this warning packetbeat.

2017/11/21 01:10:50.019224 condition.go:235: WARN unexpected type bool in equals condition as it accepts only integers and strings. 
@ruflin ruflin added the enhancement label Nov 21, 2017
ewgRa added a commit to ewgRa/beats that referenced this issue Dec 23, 2017
ewgRa added a commit to ewgRa/beats that referenced this issue Dec 24, 2017
ruflin added a commit that referenced this issue Jan 25, 2018
Add ability to use bool in processor conditions, related to #5659
@ewgRa

This comment has been minimized.

Copy link
Contributor

commented Feb 5, 2018

This problem looks like duplicate of #4637, probably one of them can be closed in favor of another.

Merged PR #5954 looks like solution for both issues.

@ruflin

This comment has been minimized.

Copy link
Collaborator

commented Feb 12, 2018

Closing this as #5954 was merged.

@ewgRa Thanks for the ping.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.