Search code examples
elasticsearchwindows-server-2008logstash

Logstash conf file not working, what's wrong with the syntax?


What about the .conf file below is incorrect that would cause logstash to not index and store the log file for elasticsearch? I'm running kibana/elasticsearch/logstash all on the same windows server(2008 R2) using IIS.

input {
  file {
    path => ["c:\logs\bb-auth.txt"]
    start_position => beginning
    type = "bb_authentication"
  }
}

output {
stdout { }
  elasticsearch {
    host => localhost
  }
}

I'm just trying to start small before I get ahead of myself and using just one file. But this doesn't even seem to work and I've restarted the service each time I've made a change to the file.


Solution

  • According to this lira issue you can try the following path:

    https://logstash.jira.com/browse/LOGSTASH-430

    C:/logs/bb-auth.txt