Skip to content

[Reporting] Not able to generate CSV report on object fields; Discover is able #25068

@tsullivan

Description

@tsullivan

Kibana version: First reported with 6.2.2, reproducible in 6.4.2

Describe the bug:

Steps to reproduce:

  • Create an object field, either using repro from the bug above, or mapping a field as disabled
  • CSV report will fail with error field [fieldName] isn't a leaf field

Representing the field value works in Discover, presumably because Discover has a request body that uses the source option. CSV generation fails, presumably because the request body uses stored_fields in the request body.

Asking for stored fields is currently potentially problematic because not all fields have stored fields. To quote @colings86

Asking for stored fields on an object field itself will never work because you can't enable a stored field at that level hence why we throw an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:Reporting:CSVReporting issues pertaining to CSV file exportbugFixes for quality problems that affect the customer experienceimpact:highAddressing this issue will have a high level of impact on the quality/strength of our product.needs-teamIssues missing a team label

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions