Skip to content

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
@elastic-jasper elastic-jasper added the backport This PR is a backport of another PR label Sep 12, 2016
@epixa epixa changed the title [backport] PR #8228 to 5.x [backport] PR #8228 to 5.x - Make CSV upload limit configurable Sep 12, 2016
@Bargs Bargs merged commit c417cac into 5.x Sep 12, 2016
@epixa epixa deleted the jasper/backport/8228/5.x branch September 13, 2016 00:53
airow pushed a commit to airow/kibana that referenced this pull request Feb 16, 2017
[backport] PR elastic#8228 to 5.x - Make CSV upload limit configurable

Former-commit-id: c417cac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants