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 OpenDistro SQL plugin to logs-db image #1625

merged 1 commit into from Feb 6, 2020


Copy link

shreddedbacon commented Feb 3, 2020


  • Affected Issues have been mentioned in the Closing issues section
  • Documentation has been written/updated
  • PR title is ready for changelog and subsystem label(s) applied

This PR aims to try and solve being able to export data from Kibana using the SQL plugin in CSV format.

Using a query like this in the Dev Tools section of Kibana.

POST _opendistro/_sql?format=csv
"query": "SELECT * FROM lagoon-logs-* LIMIT 2"

More information on it here

Closing issues

Closes #1624

@shreddedbacon shreddedbacon added this to the v1.3.0 milestone Feb 3, 2020

This comment has been minimized.

Copy link

tobybellwood commented Feb 4, 2020

will need updating to 1.3.0 when #1580 gets merged


This comment has been minimized.

Copy link

smlx commented Feb 6, 2020

@shreddedbacon I didn't see anything explicit in the documentation - this integrates with the security plugin, right? e.g. you can't access the indices of other tenants via the SQL interface?


This comment has been minimized.

Copy link
Member Author

shreddedbacon commented Feb 6, 2020

@smlx I tested it locally with a user with access to one project only and wasn't able to access indexes outside of that project/user role.

@smlx smlx self-assigned this Feb 6, 2020
smlx approved these changes Feb 6, 2020
Copy link

smlx left a comment

LGTM and it builds 😄

@Schnitzel Schnitzel merged commit 9e5c110 into amazeeio:master Feb 6, 2020
1 check passed
1 check passed
continuous-integration/jenkins/pr-merge This commit looks good
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

4 participants
You can’t perform that action at this time.