Thank you Badger for the info , i tried to use the separator
csv {
columns => ["Received", "Generated","Product Entity/Endpoint", "Product", "Spyware/Grayware", "Endpoint","Source Host", "User", "Result","Detections", "Channel"]
separator => " "
skip_empty_columns => "true"
skip_empty_rows => "true"
skip_header => "true"
}
![image|690x345](upload://v2pyDEvzpEIh3Z6OU7EyvxT6eti.png)
1.First thing it splitted even the values, for example in the screenshot its one value like 'host details'
since it has space it splitted in to two different values like host and detail separately
2. Secondly, header was not removed ,empty columns and rows was not removed
Thanks,
Raj
Check out the skip_header and skip_empty_rows options for the filter.
If your fields really are space separated and contain embedded spaces without quotes then the format is ambiguous and csv will not be able to parse it. However, the message looks like it is either tab separated (which csv can handle) or fixed-width (which grok would be better for).
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.