A pretty way to display an array and an array of objects in a kiban

I'm new to kiban, and I just finished assembling the dashboard in kiban with elasticsearch data. The array and the array of objects in the kiban are simply shown to be strict, not beautiful.

Array example:

"tags": [
        "Anthem",
        "Healthcare"
      ]

But the kiban is shown as follows:

["Anthem","Healthcare"]

An example of an array of objects

  "observations": [
      {
        "category": [
          "phishing"
        ],
        "impact": "phishing url",
        "observedAt": 1406564412,
        "description": "Phishing Other",
        "sourceConfidence": 7,
        "source": "phishtank.com",
        "sourceMaliciousness": "medium"
      }
    ],

But the kiban is shown as follows:

{"category":["phishing"],"impact":"phishing url","observedAt":1406564412,"description":"Phishing Other","sourceConfidence":7,"source":"phishtank.com",...

I want to display tags as interactive anchors that start a new search, or at least prettier than just displaying an array. Is there a way this can be achieved?

+4
source share

Source: https://habr.com/ru/post/1599085/


All Articles