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

[backport] PR #8228 to 5.0 - Make CSV upload limit configurable #8231

Merged
merged 1 commit into from
Sep 12, 2016

Conversation

elastic-jasper
Copy link
Contributor

Backport PR #8228

Commit 1:
Make CSV upload limit configurable

Kibana's Upload CSV feature isn't intended for gigantic import jobs, so
I originally set a sane default of 1GB. Some users exprssed a desire to
import slightly larger files, they should be able to import something
that's 1.1GB without being blocked by an arbitrary limit. So I've made
the limit configurable via kibana.yml.

This change includes a few pieces:

  • Added optional kibana.addDataMaxBytes key to kibana.yml with 1GB
    default
  • Set upload data route payload limit based on new config value
  • Updated help text in UI to use the dynamic config value on the parse
    csv page
  • Updated parse csv page to check file size and fail early if the
    selected file is too big

Resolves: #7671

---------

**Commit 1:**
Make CSV upload limit configurable

Kibana's Upload CSV feature isn't intended for gigantic import jobs, so
I originally set a sane default of 1GB. Some users exprssed a desire to
import slightly larger files, they should be able to import something
that's 1.1GB without being blocked by an arbitrary limit. So I've made
the limit configurable via kibana.yml.

This change includes a few pieces:
* Added optional `kibana.addDataMaxBytes` key to kibana.yml with 1GB
  default
* Set upload data route payload limit based on new config value
* Updated help text in UI to use the dynamic config value on the parse
  csv page
* Updated parse csv page to check file size and fail early if the
  selected file is too big

Resolves: #7671

* Original sha: 0503aa8
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-09-12T18:13:44Z
@epixa epixa changed the title [backport] PR #8228 to 5.0 [backport] PR #8228 to 5.0 - Make CSV upload limit configurable Sep 12, 2016
@Bargs Bargs merged commit b084431 into 5.0 Sep 12, 2016
@epixa epixa deleted the jasper/backport/8228/5.0 branch September 13, 2016 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants