weka - csv loader failed to load reason wrong number of values .Read 10,expected 8 ,read token [EOL] ,line 17 -
i trying convert csv arff using weka's csvloader gui. in options set enclosure character strings , . following error:
weka.core.converters.csvloader failed load
reason
wrong number of values .read 10,expected 8 ,read token eol ,line 17
here lines 17
opensource:indicator-7fb1f287-3e7d-4069-8c41-ae7699055c81 sid:2405035 | "et cnc shadowserver reported cnc server port 6667 group 11" | rev:3590 ip watchlist snort rule emergingthreats | alert tcp $home_net -> [217.146.93.144,217.146.93.146,217.188.63.252,217.195.122.2,217.208.43.77,220.99.77.147,222.73.84.17,222.122.47.78] 6667 (msg:"et cnc shadowserver reported cnc server port 6667 group 11"; flags:s; reference:url,doc.emergingthreats.net/bin/view/main/botcc; reference:url,www.shadowserver.org; threshold: type limit, track by_src, seconds 360, count 1; classtype:trojan-activity; flowbits:set,et.evil; flowbits:set,et.botccip; sid:2405035; rev:3590;) opensource:observable-fe41db2c-da28-4e1e-96e1-95a06fa7b908 opensource:ttp-8becbdf1-c430-4fc9-a902-144841e375a6 rules.emergingthreats.net na
any ideas?
i explain use of example. if csv file has header like:
id, body, class 1, 2, 2, 6, 3, 11, odd
then if there entry
4,15, , odd
(notice 4 columns). there error message( read 4, expected 3). check @ line 17 might have done same mistake. hope helps.
Comments
Post a Comment