Can nested documents be used to create visualizations in Kibana 5.2?

I needed to create relationship between documents for join type querying.

Basic mapping:

{
  "mappings": {
    "type1":{
      "properties": {
        "type2": {
          "type": "nested"
        },
        "type3": {
          "type": "nested"
        },
        "type4": {
          "type": "nested"
        }
      }
    }
  }
}

and also can i use the search bar in discover to run an elasticsearch query that contains nested keyword:

"query": {
        "nested" : {
            "path" : "type2",
            "query" : {
                "bool" : {
                    "must" :  ...
                }
            }
        }
    }

Edit: formatting

i don't think nested objects are supported in kibana.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.