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

Selection by regexp is displaced #804

Closed
gekmcfh opened this issue Dec 8, 2014 · 2 comments
Closed

Selection by regexp is displaced #804

gekmcfh opened this issue Dec 8, 2014 · 2 comments
Assignees
Labels
Milestone

Comments

@gekmcfh
Copy link

@gekmcfh gekmcfh commented Dec 8, 2014

Then i try to create regexp-extractor, any selection, which i do is displace on 2 symbols to left. Example:

Example origin message:
"<188>Dec 5 18:30:33 2014 pnz_clck_4fl %%10IFNET/4/INTERFACE UPDOWN(t): Trap 1.3.6.1.6.3.1.1.5.3: Interface 9437220 is Down, ifAdminStatus is 1, ifOperStatus is 2 "

Regexp:
: (.+):

Expected selection:
Trap 1.3.6.1.6.3.1.1.5.3

Getting selection:
: Trap 1.3.6.1.6.3.1.1.5

version: 0.92 from 1st december 2014

@kroepke kroepke added this to the 0.93 milestone Dec 28, 2014
@bernd
Copy link
Member

@bernd bernd commented Jan 15, 2015

Thank you for the report. This is an URL encoding issue caused by the %10 in the message. It only affects the extractor test in the web interface. I will commit a fix for that soon.

extractor-regex

bernd added a commit to graylog-labs/graylog2-web-interface that referenced this issue Jan 15, 2015
If the regex test message contained a "%10", the test result was off
because of encoding problems.

Fixes Graylog2/graylog2-server#804
@bernd
Copy link
Member

@bernd bernd commented Jan 15, 2015

@bernd bernd closed this Jan 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants