I am trying to load a set of CSV files using logstash. The CSV files contains two tables, where only the second table is of my interest. Any suggestions on how to skip the entries in the first table? (Say the first 50 lines of the CSV file)
My current conf files looks as follows:
input{
file{
path => "/home/username/pathtoData/*"
start_position => beginning
}
}
filter{
csv{
columns => ["col_name_a", "col_name_b", ...]
separator => ","
}
}
output{
elasticsearch{
hosts => ["localhost:portnum"]
}
}