Hi everyone, I am a new learner to the ELK stack
Here is my logstash conf file:
input {
file {
path => "C:\Users\umutc\Desktop\kibanaproject\organisations.csv"
start_position => "beginning"
sincedb_path => "NUL"
}
}
filter {
csv {
separator => ","
columns =>
["Index","Organization_Id","Name","Website","Country","Description","Founded","Industry","Number_of_employees"]
}
date {
match => ["Founded","YYYY"]
target => "Founded"
}
mutate {convert => ["Index", "integer"]}
mutate {convert => ["Number_of_employees", "integer"]}
}
output {
elasticsearch {
hosts => ["localhost:9200"]
ssl_certificate_verification => false
user => "elastic"
password => "password"
index => "organisations"
}
stdout {codec => json_lines }
}