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

Idea: Adding the possibility to create a Dataframe from a KQL query #684

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

bartbroere
Copy link
Contributor

@bartbroere bartbroere commented Mar 28, 2024

This PR is a first draft of how we could create a DataFrame by filtering an index with Kibana Query Language.

I found the kql module elsewhere in the Elastic Github organisation. For now I submodule+symlinked it in here, but there probably is a better way to do that.

You would use this by doing something like this:

import eland

eland.Dataframe('http://localhost:9200', 'example-index').kql_query('field1 > 100 and (field2:"value1" or field2:"value2")')

@bartbroere bartbroere changed the title Add from kql Idea: Adding the possibility to create a Dataframe from a KQL query Mar 28, 2024
@bartbroere
Copy link
Contributor Author

I'll be mostly offline during April, so this is just a heads up that this PR will not see much progress for a few weeks. I didn't forget about it though, and plan to continue working on it in May.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant