Possible to visualize all data in kibana?

Is it possible for kibana to visualize all data?
if i have:
"durations": [
{
"Patching": 4
},
{
"Extracting": 0
},
{
"Building": 5
},
{
"Configuring": 6
},
{
"Installing to host directory": 1
},
}

Can I somehow ask kibana to visualize all duration fields?

No, it's generally not supported in Kibana to aggregate on any kind of array of objects like this: https://www.elastic.co/guide/en/kibana/current/nested-objects.html

You can see these as individual documents in Discover, or you could use a scripted field to convert this array into a structure that Kibana can use.

I don't really understand scripting or how it would help here. I was wondering if there were any good resources for this?

Kibana will work best if you flatten your structure. You can do this during ingestion of data, using data transformation or by using a scripted field to do a runtime transformation. You can see some examples of scripted fields here: https://www.elastic.co/guide/en/elasticsearch/painless/current/painless-walkthrough.html

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