Hello
A 3rd party application generate a TEXT file contain 100K rows every 5 minutes.
The columns in this TEXT file is seprated by ;
How can i upload this TEXT file using logstatsh ?
Thanks
input {
File { path => ”path/to/file”
# more about file-input parameters in the documentation
}
}
filter {
csv {
columns => [“column1”...”columni”]
seperator => “;”
}
}
output {
elasticsearch {
host => “localhost:9200”
}
Stdout { codec => rubydebug }
}
Above is not complete since you have to adjust for the content of your files, but it gives you an idea of how to start.