Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

Missing fields in the generated file #363

Closed
uzhinskiy opened this issue Apr 20, 2021 · 3 comments
Closed

Missing fields in the generated file #363

uzhinskiy opened this issue Apr 20, 2021 · 3 comments
Labels
bug Something isn't working question Further information is requested

Comments

@uzhinskiy
Copy link
Contributor

uzhinskiy commented Apr 20, 2021

I am trying to create a CSV report based on a saved search that contains fields like @timestamp, A, B, C.D, C.E, F, etc. But the generated file only contains @timestamp, A, B, F - in the report all complex fields are missing.
In fact - the fields that mapped as object in my index are missed.
Why did this happen and how can I fix it?

Kibana v 7.10.0 from docker-image "amazon/opendistro-for-elasticsearch-kibana:1.12.0"

@zhongnansu
Copy link
Member

Could you be more specific about "complex fields", also it's better if you can provide some example, screenshot, dataset you used, anything

@zhongnansu zhongnansu added the question Further information is requested label Apr 22, 2021
@uzhinskiy
Copy link
Contributor Author

For example:

   {
        "_index" : "my_index",
        "_type" : "_doc",
        "_id" : "789be064-0758-4245-8ca1-6570df3bb5a7",
        "_score" : 1.0,
        "_source" : {
          "status" : "alert",     -   simple field = string
          "issue_uid" : 123,   -   simple field = number
          "created_at" : "2020-09-21T05:02:48.000+03:00",    -   simple field = date
          "alerts_count" : 2,   -   simple field = number
          "labels" : {       -   complex field = object 
            "kubernetes" : "cluster.k8s",    -  part of complex field  -  will be missed from CSV-report
            "statefulset" : "sts1"  -  part of complex field  -  will be missed from CSV-report
          }
        }
    }

@zhongnansu
Copy link
Member

This issue has been moved to opensearch-project/reporting#43

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants