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

Sorting Order #1

Closed
nohimx opened this issue Apr 6, 2017 · 2 comments
Closed

Sorting Order #1

nohimx opened this issue Apr 6, 2017 · 2 comments
Assignees

Comments

@nohimx
Copy link

nohimx commented Apr 6, 2017

Hello. There is small issue with slookup. If there few records with same value, slookup using first one from current sorting. Any new values arrived to graylog lookup doesn't see, it only see first found. Is it possible to add sort ordering to slookup function, to be something like slookup(stream, srcField, dstField, rtnField, timeRange, sortOrder) : String
SortOrder - asc , desc. Or even make sort desc by default, to find latest value. I am absolutely dumb in Java and cant do myself :(

@billmurrin billmurrin self-assigned this Apr 7, 2017
@billmurrin
Copy link
Owner

Hi @nohimx.

Thanks for the input. I think I can definitely add this for you.

Let's add an enhancement label to this! :-)

I like the idea of adding a sortOrder since people might have different requirements when using the plugin.

@billmurrin
Copy link
Owner

@nohimx - v1.1.0 was just released which incorporates this enhancement. Please take it for a spin. It should work in all 2.2.X versions. I tested it in 2.2.1 and 2.2.3.

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

2 participants