hello everyone , please i need ur help
i want add new columns in my logstash config file but i don't how do it ??
there is my config file :
input {
file {
path => "C:\elk\logstash\data.csv"
start_position => "beginning"
sincedb_path => "/dev/null"
}
}
filter {
csv {
separator => ","
columns => ["maker","model","mileage","manufacture_year","engine_displacement","engine_power","body_type","color_slug","stock_year", "transmission","door_count","seat_count","fuel_type","date_created","date_last_seen","price_euro",]
add_tag => [ "country" ]
if [maker]=='ford'{[country]== 'USA'}
if [maker]=='skoda'{[country]== 'Czech Republic'}
if [maker]=='audi'{[country]== 'germany'}
}
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.