Split visualizations on Dynamic properties

How can we split a visualization example, a vertical bar graph based on the properties of the document?

I have multiple documents each with some dynamic properties example

Document 1
      {
         ...
         "requestBody": {
               "name": "adam",
               "school": "ABC"
             },
         ...
     }

Document 2
    {
    ...
    "requestBody": {
          "Age": "12",
          "Healthy": "yes"
        },
    ...
    }

So here I want to create a visualization where I can see one graph with count for each requestBody.* value

further, split the bar on the values against each.

I don't know if it is possible also.

I don't it's possible to create a chart based on this data because it isn't structured enough. You would need to change the data format if you want to visualize it.

You might be able to look at this in a table of unstructured data. Your two options are:

  • Use the Discover app in Kibana to configure a table. Save your search and add it to a dashboard.
  • Use the Data table visualization in Kibana with the "Top Hits" metric. This will can give you the "Last 5 values" of your field requestBody as JSON

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