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

[Reporting-CSV Export] Re-write CSV Export using SearchSource #88303

Merged
merged 62 commits into from
Mar 16, 2021
Merged
Show file tree
Hide file tree
Changes from 61 commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
de10eae
[Reporting-CSV Export] Re-write CSV Export using SearchSource
tsullivan Mar 1, 2021
c19ee2a
replace PIT solution with scan-and-scroll
tsullivan Mar 3, 2021
3c519c1
update tests
tsullivan Mar 5, 2021
49c4448
cleanup
tsullivan Mar 5, 2021
ba9e1e6
simplify pr
tsullivan Mar 5, 2021
ab9f4d9
update docs
tsullivan Mar 5, 2021
802e6c6
update docs
tsullivan Mar 5, 2021
4c629e1
Merge branch 'master' into reporting/searchsource-exporttype
tsullivan Mar 5, 2021
2233717
update telemetry schema
tsullivan Mar 5, 2021
6987ab9
use getSearchRequestBody instead of flatten
tsullivan Mar 5, 2021
15feea4
Revert "update docs"
tsullivan Mar 5, 2021
003f222
optimize some async calls
tsullivan Mar 5, 2021
59c91b7
cleanup
tsullivan Mar 5, 2021
c15fe80
--wip-- [skip ci]
tsullivan Mar 5, 2021
c1c0dda
fix telemetry schema
tsullivan Mar 5, 2021
272823f
fix telemetry tests
tsullivan Mar 5, 2021
7d9dd58
fix snapshot
tsullivan Mar 5, 2021
bd9eef4
Merge branch 'master' into reporting/searchsource-exporttype
tsullivan Mar 7, 2021
9b8251c
api docs
tsullivan Mar 7, 2021
c5a7da0
Merge branch 'master' into reporting/searchsource-exporttype
kibanamachine Mar 7, 2021
1ae6586
Merge branch 'master' into reporting/searchsource-exporttype
tsullivan Mar 9, 2021
c5d3421
api doc updates
tsullivan Mar 9, 2021
40ac2e9
Merge commit 'c5d342181ac' into reporting/searchsource-exporttype
tsullivan Mar 9, 2021
e574ab7
Merge branch 'master' into reporting/searchsource-exporttype
tsullivan Mar 10, 2021
7852a43
use import type
tsullivan Mar 10, 2021
a5c3115
format the data through chains of maps
tsullivan Mar 10, 2021
482fa41
Merge branch 'master' into reporting/searchsource-exporttype
tsullivan Mar 11, 2021
6edf26e
add another saved search to reporting/ecommerce_kibana
tsullivan Mar 11, 2021
53ed8af
add a failing test
tsullivan Mar 11, 2021
e731e71
add error logging to query failures
tsullivan Mar 11, 2021
4e896e7
put clear scroll in a finally so the ES error can be captured
tsullivan Mar 11, 2021
5e6ebc5
log dat error
tsullivan Mar 11, 2021
74dd226
set dat fieldsFromSource
tsullivan Mar 11, 2021
a7bcb9c
--wip-- [skip ci]
tsullivan Mar 11, 2021
2584460
Revert "add another saved search to reporting/ecommerce_kibana"
tsullivan Mar 11, 2021
98f8640
functional test fixes
tsullivan Mar 11, 2021
5998a42
clean up ecommerce test archive
tsullivan Mar 11, 2021
92b0013
add test for new search with fieldsFromSource set
tsullivan Mar 11, 2021
b29672e
add tests and refactor tests
tsullivan Mar 12, 2021
ae26fea
cleanup redundant conditionals
tsullivan Mar 12, 2021
d6699a2
add GenerateCsv.getFields
tsullivan Mar 12, 2021
766cb85
fix some tests
tsullivan Mar 12, 2021
c25ef8e
fix double-escaping
tsullivan Mar 12, 2021
fc0e222
fix test snapshots and refactoring
tsullivan Mar 12, 2021
35ba150
Merge branch 'master' into reporting/searchsource-exporttype
kibanamachine Mar 13, 2021
6640e24
fix other tests
tsullivan Mar 13, 2021
9b37486
fix test
tsullivan Mar 13, 2021
73487e1
fix default index pattern in functional tests
tsullivan Mar 14, 2021
58f0773
Merge branch 'master' into reporting/searchsource-exporttype
kibanamachine Mar 14, 2021
2ecac7f
fix ts and sort fields when they come from API response
tsullivan Mar 15, 2021
81d54bf
--wip-- [skip ci]
tsullivan Mar 15, 2021
f183650
fix formatting and increase maxSizeBytes for testing
tsullivan Mar 15, 2021
3bbce70
remove client-side logic for sanitizing fields
tsullivan Mar 15, 2021
ae16898
do not prepend timefield name if it already is a column
tsullivan Mar 15, 2021
c7694f6
test the logic to prepend timeField
tsullivan Mar 15, 2021
9d87153
test the logic to sort the fields
tsullivan Mar 15, 2021
249c70f
fix functional test
tsullivan Mar 15, 2021
c0b4f48
preserve the error from data.search
tsullivan Mar 15, 2021
2bb267e
Merge branch 'master' into reporting/searchsource-exporttype
tsullivan Mar 15, 2021
78d9a8a
add functional test for ES returning an error
tsullivan Mar 16, 2021
d786783
fix snapshot
tsullivan Mar 16, 2021
06c7e38
Merge branch 'master' into reporting/searchsource-exporttype
tsullivan Mar 16, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 25 additions & 25 deletions api_docs/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -21764,7 +21764,7 @@
"description": [],
"source": {
"path": "src/plugins/data/server/index.ts",
"lineNumber": 245
"lineNumber": 246
},
"signature": [
"typeof ",
Expand All @@ -21785,7 +21785,7 @@
"description": [],
"source": {
"path": "src/plugins/data/server/index.ts",
"lineNumber": 246
"lineNumber": 247
},
"signature": [
"typeof ",
Expand All @@ -21806,7 +21806,7 @@
"description": [],
"source": {
"path": "src/plugins/data/server/index.ts",
"lineNumber": 247
"lineNumber": 248
},
"signature": [
"({ display: string; val: string; enabled(agg: ",
Expand All @@ -21828,7 +21828,7 @@
"description": [],
"source": {
"path": "src/plugins/data/server/index.ts",
"lineNumber": 248
"lineNumber": 249
},
"signature": [
"typeof ",
Expand All @@ -21849,7 +21849,7 @@
"description": [],
"source": {
"path": "src/plugins/data/server/index.ts",
"lineNumber": 249
"lineNumber": 250
},
"signature": [
"typeof ",
Expand All @@ -21870,7 +21870,7 @@
"description": [],
"source": {
"path": "src/plugins/data/server/index.ts",
"lineNumber": 250
"lineNumber": 251
},
"signature": [
"typeof ",
Expand All @@ -21891,7 +21891,7 @@
"description": [],
"source": {
"path": "src/plugins/data/server/index.ts",
"lineNumber": 251
"lineNumber": 252
},
"signature": [
"(agg: ",
Expand All @@ -21913,7 +21913,7 @@
"description": [],
"source": {
"path": "src/plugins/data/server/index.ts",
"lineNumber": 252
"lineNumber": 253
},
"signature": [
"(agg: ",
Expand All @@ -21935,7 +21935,7 @@
"description": [],
"source": {
"path": "src/plugins/data/server/index.ts",
"lineNumber": 253
"lineNumber": 254
},
"signature": [
"(...types: string[]) => (agg: ",
Expand All @@ -21957,7 +21957,7 @@
"description": [],
"source": {
"path": "src/plugins/data/server/index.ts",
"lineNumber": 254
"lineNumber": 255
},
"signature": [
"typeof ",
Expand All @@ -21978,7 +21978,7 @@
"description": [],
"source": {
"path": "src/plugins/data/server/index.ts",
"lineNumber": 255
"lineNumber": 256
},
"signature": [
"typeof ",
Expand All @@ -21999,7 +21999,7 @@
"description": [],
"source": {
"path": "src/plugins/data/server/index.ts",
"lineNumber": 256
"lineNumber": 257
}
},
{
Expand All @@ -22010,7 +22010,7 @@
"description": [],
"source": {
"path": "src/plugins/data/server/index.ts",
"lineNumber": 257
"lineNumber": 258
},
"signature": [
"typeof ",
Expand All @@ -22031,7 +22031,7 @@
"description": [],
"source": {
"path": "src/plugins/data/server/index.ts",
"lineNumber": 258
"lineNumber": 259
},
"signature": [
"typeof ",
Expand All @@ -22052,7 +22052,7 @@
"description": [],
"source": {
"path": "src/plugins/data/server/index.ts",
"lineNumber": 259
"lineNumber": 260
},
"signature": [
"typeof ",
Expand All @@ -22073,7 +22073,7 @@
"description": [],
"source": {
"path": "src/plugins/data/server/index.ts",
"lineNumber": 260
"lineNumber": 261
}
},
{
Expand All @@ -22084,7 +22084,7 @@
"description": [],
"source": {
"path": "src/plugins/data/server/index.ts",
"lineNumber": 261
"lineNumber": 262
},
"signature": [
"string[]"
Expand All @@ -22098,7 +22098,7 @@
"description": [],
"source": {
"path": "src/plugins/data/server/index.ts",
"lineNumber": 262
"lineNumber": 263
},
"signature": [
"typeof ",
Expand All @@ -22119,7 +22119,7 @@
"description": [],
"source": {
"path": "src/plugins/data/server/index.ts",
"lineNumber": 263
"lineNumber": 264
},
"signature": [
"typeof ",
Expand All @@ -22137,7 +22137,7 @@
"label": "aggs",
"source": {
"path": "src/plugins/data/server/index.ts",
"lineNumber": 244
"lineNumber": 245
}
},
{
Expand All @@ -22148,7 +22148,7 @@
"description": [],
"source": {
"path": "src/plugins/data/server/index.ts",
"lineNumber": 265
"lineNumber": 266
},
"signature": [
"typeof ",
Expand All @@ -22169,7 +22169,7 @@
"description": [],
"source": {
"path": "src/plugins/data/server/index.ts",
"lineNumber": 266
"lineNumber": 267
},
"signature": [
"typeof ",
Expand All @@ -22190,7 +22190,7 @@
"description": [],
"source": {
"path": "src/plugins/data/server/index.ts",
"lineNumber": 267
"lineNumber": 268
},
"signature": [
"typeof ",
Expand All @@ -22211,7 +22211,7 @@
"description": [],
"source": {
"path": "src/plugins/data/server/index.ts",
"lineNumber": 268
"lineNumber": 269
},
"signature": [
"typeof ",
Expand All @@ -22229,7 +22229,7 @@
"label": "search",
"source": {
"path": "src/plugins/data/server/index.ts",
"lineNumber": 243
"lineNumber": 244
},
"initialIsOpen": false
},
Expand Down
Loading