Load csv file in logstash


Please provide sample examples to upload csv, pdf files in logstash

Logstash Successfully started but not index in created in Elastic Search
Unable to push data to elastic search and Kibana through Logstash
How can i parse the data with comma seperated in logstash
Can't load CSV data into elasticsearch index

Thanks for reply,hope this works fine,

input {
file {
path => "D:/Balu/ELK-stack/csvfile.csv"
start_position => "beginning"
sincedb_path => "NUL"
filter {
csv {
separator => ","
columns => ["open","high","low","close","volume"]
output {
elasticsearch {
hosts => "http://localhost:9200"
index => "wallet-address-index"
stdout { codec => rubydebug }

The best way to achieve CSV imports?
Unable to load CSV data into elastic search
File input not working
Logstash not creating indexes for csv file input
CSV data upload problem
Grok Parse Failure - CSV input via Filebeat
Change character encoding in Logstash
How to Upload CSV into kibana through logstash
Convert column to JSON
409, 403 Error code?
(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.