为什么在 Kibana 4 中,它在数据可视化页面的字段部分显示 "You must choose and item from the list"?
Why in Kibana 4 , it is showing "You must choose and item from the list" in the Field section of Data visualisations page?
我有一个 elasticsearch 索引,我用它来索引一组文档。
这些文件最初是 csv 格式,我正在寻找使用 logstash 解析这些文件。
在 Kibana 4 可视化页面中,(见下图)
在“Current Device Installs”字段中,按应用后,会出现一个弹出窗口 "You must choose an item from the list"。
我的 logstash 配置文件是,
input {
file {
path => "/csv_files_for_logstash/app1lg.csv"
type => "core2"
start_position => "beginning"
} }
filter {
csv {
separator => ","
columns=> ["Date","Package Name","App Version Code","Current Device Installs","Daily Device Installs","Daily Device Uninstalls","Daily Device Upgrades","Current User Installs","Total User Installs","Daily User Installs","Daily User Uninstalls"]
}
mutate {convert => ["App Version Code", "string"]}
mutate {convert => ["Current Device Installs", "float"]}
mutate {convert => ["Daily Device Installs", "float"]}
mutate {convert => ["Daily Device Uninstalls", "float"]}
mutate {convert => ["Current User Installs", "float"]}
mutate {convert => ["Total User Installs", "float"]}
mutate {convert => ["Daily User Installs", "float"]}
mutate {convert => ["Daily User Uninstalls", "float"]}
ruby {
code => '
b = event["App Version Code"]
string2=""
for counter in (3..(b.size-1))
if counter == 4
string2+= "."+ b[counter]
elsif counter == 6
string2+= "("+b[counter]
elsif counter == 8
string2+= b[counter] + ")"
else
string2+= b[counter]
end
end
event["App Version Code"] = string2
'
}
}
output {
elasticsearch {
embedded => true
action => "index"
host => "es"
index => "fivetry"
workers => 1
}
stdout{
codec => rubydebug {
}
}
}
此错误的可能原因是什么?我该如何删除它?
感谢和问候
如果您只需要“当前设备安装”字段的最大计数,您可以单击“拆分行”部分中的 X(交叉)按钮,然后单击“应用”。
在这种情况下,它将输出当前设备安装的最大计数字段。
我有一个 elasticsearch 索引,我用它来索引一组文档。
这些文件最初是 csv 格式,我正在寻找使用 logstash 解析这些文件。
在 Kibana 4 可视化页面中,(见下图)
在“Current Device Installs”字段中,按应用后,会出现一个弹出窗口 "You must choose an item from the list"。
我的 logstash 配置文件是,
input {
file {
path => "/csv_files_for_logstash/app1lg.csv"
type => "core2"
start_position => "beginning"
} }
filter {
csv {
separator => ","
columns=> ["Date","Package Name","App Version Code","Current Device Installs","Daily Device Installs","Daily Device Uninstalls","Daily Device Upgrades","Current User Installs","Total User Installs","Daily User Installs","Daily User Uninstalls"]
}
mutate {convert => ["App Version Code", "string"]}
mutate {convert => ["Current Device Installs", "float"]}
mutate {convert => ["Daily Device Installs", "float"]}
mutate {convert => ["Daily Device Uninstalls", "float"]}
mutate {convert => ["Current User Installs", "float"]}
mutate {convert => ["Total User Installs", "float"]}
mutate {convert => ["Daily User Installs", "float"]}
mutate {convert => ["Daily User Uninstalls", "float"]}
ruby {
code => '
b = event["App Version Code"]
string2=""
for counter in (3..(b.size-1))
if counter == 4
string2+= "."+ b[counter]
elsif counter == 6
string2+= "("+b[counter]
elsif counter == 8
string2+= b[counter] + ")"
else
string2+= b[counter]
end
end
event["App Version Code"] = string2
'
}
}
output {
elasticsearch {
embedded => true
action => "index"
host => "es"
index => "fivetry"
workers => 1
}
stdout{
codec => rubydebug {
}
}
}
此错误的可能原因是什么?我该如何删除它?
感谢和问候
如果您只需要“当前设备安装”字段的最大计数,您可以单击“拆分行”部分中的 X(交叉)按钮,然后单击“应用”。
在这种情况下,它将输出当前设备安装的最大计数字段。