csv file's field separator is comma (,) not semicolon(;).
On Tuesday, November 17, 2015 at 10:09:37 AM UTC-5, Jean-Luc Bassereau
wrote:
>
> Hello,
>
> I'm trying to send log files (which is in fact a CSV ; file) from logstash
> to Graylog.
> I'm using a very simple logstash rule to load and send the file :
>
> input {
> file {
> path => "/path_to/file.csv"
> type => "core2"
> start_position => "beginning"
> }
> }
>
> filter {
> csv {
> separator => ";"
> }
> }
>
>
> output {
> gelf {
> host => "my graylog GELF UDP"
> }
> }
>
>
> When I start logstash, I can see on the debug output that it prases
> correctly the fields of the field.
> On the Graylog side I can see on the throughput metric of the Gelf Input
> that messages are arriving, whereas, I cannot find any of them. Is it a
> problem of my file structure ?
>
> --
> Regards,
> Jean-Luc Bassereau
>
--
You received this message because you are subscribed to the Google Groups
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/graylog2/feb19164-13af-4de3-99da-bb46ad2eded9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.