Logstash Config Problem


(DD) #1

I have large dataset useing csv filter and found config error, can somenone help me to identify the problem.
input {
file {
path => "/home/observer/COLLECTION/3PAR/VLUN/statvlun_10seconds.csv"
start_position=> "begining"
#sincedb_path => "/dev/null"
}
}

filter {

csv{
seperator => ","
columns => ["Lun",
"VVName",
"Host",
"port",
"time",
"Cur1",
"Avg1",
"Max1",
"Cur2",
"Avg2",
"Max2",
"Cur3",
"Avg3",
"Cur3",
"Avg3",
"Qlen"]

}
mutate {
convert => [ "[Lun]", "integer",
"[Name]","String",
"[Host]","String",
"[port]","float",
"[r/w]","float",
"[Cur]","float",
"[Avg]","float",
"[Max]","float",
"[Qlen]","float"
]
}
}
output {
elasticsearch{
hosts= "localhost:9200"
index= "Vlun"
document_type="vlun_stat"
}

stdout {}

}


(Mark Walkom) #2

Please format your config using the code tags/button.

Also, posting the error would be helpful.


(Magnus Bäck) #3

index= "Vlun"

Index names can't contain uppercase letters.


(system) #4

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