Skip to content

[BUG] Saved search filter types are not fully supported when creating csv report #92

@zhongnansu

Description

@zhongnansu

Missing the following filters

Some filters will not be recognized and parsed by csv reporting module and couldn't generate correct report, with filtered data.
e.g. range filter

  • a example meta filter field of a saved search
"filter":[{"meta":{"params":{"gte":3,"lt":5},"alias":null,"negate":false,"disabled":false,"type":"range","key":"total_quantity","indexRefName":"kibanaSavedObjectMeta.searchSourceJSON.filter[0].meta.index"},"range":{"total_quantity":{"gte":3,"lt":5}},"$state":{"store":"appState"}}

To Reproduce
Steps to reproduce the behavior:

  1. add sample e-commerce dataset
  2. go to Discover page and add a filter of "total_quantity" is between "3" to "5"
  3. save it
  4. create csv report

Expected behavior

Plugins
Reporting

Screenshots
If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions