用例/示例:
我有元组数据数组,我想将它们存储在Elasticsearch中,并在Kibana中进行可视化。假设支持元组,Elasticsearch中的示例记录可能类似于以下内容:
features: [("feature 1", "positive"), ("feature 2", "neutral"), ("feature 3", positive), ("feature 4", "negative"), ...]
可能存在大量feature
标签,但是每个功能始终与以下三个属性之一相关联:positive, negative, neutral
我想在Kibana中复制的示例可视化示例如下(其中有几千条记录,如上所示):
尝试的解决方案:
featureLabel
和featureRating
的组合:featureLabels: ["feature 1", "feature 2", "feature 3", "feature 4"...]
featureRatings: ["positive", "neutral", "positive", "negative", ...]
是否有一种方法可以像在包含的示例可视化中那样将其可视化地存储在Elasticsearch中?我正在使用Elasticsearch和Kibana版本6.8.1。