I am attempting to ingest this logfile:
---,36.25, 30.14, 0.01, 0.01, 26.36, 23.92, 23.68
---,36.25, 30.15, 0.01, 0.01, 26.36, 24.04, 23.68
---,36.26, 30.14, 0.01, 0.01, 26.36, 24.04, 23.68
---,36.25, 30.15, 0.01, 0.01, 26.36, 24.04, 23.68
---,36.25, 30.15, 0.01, 0.01, 26.36, 24.04, 23.55
---,36.26, 30.15, 0.01, 0.01, 26.36, 24.04, 23.68
---,36.25, 30.14, 0.01, 0.01, 26.24, 23.92, 23.55
And using this conf file:
input {
file {
path => "c:\\users\\administrator\\desktop\\bsb1_data_output1.txt"
start_position => "beginning"
}
}
filter {
grok {
match => "%{GREEDYDATA}"
}
}
}
output {
elasticsearch {
hosts => "http://myIP:9200"
index => "bsb1"
document_type => "bsb1"
}
}
stdout {
codec => rubydebug
}
}
But I get this error:
[FATAL][logstash.runner ] The given configuration is invalid. Reason: Expected one of [ \t\r\n], "#", "input", "filter", "output" at line 1, column 1 (byte 1)
Can someone please help me figure this out?