Ok, i think i got it this time.
Since_Db.
the problem was that i was uploading the same log file over and over again. 
logstash remembers where it stoped reading the file the last time it was 
open so it would only update elastic with changes. since i deleted the data 
from elastic, and the log file i loaded didnt change from the last time it 
was loaded nothing happend. Thanks for trying to help!



On Saturday, June 21, 2014 1:02:33 AM UTC+3, Eitan Vesely wrote:
>
> Guys,
> its been more than a week i've been struggling with this issue,
> if possible, please give it a look and try to help  :-( 
>
> i have a config file that im running logstash with which is suppose to 
> fetch the log file i specified in it and stream it to elasticsearch.
>
> problem is that it worked twice and thats it. NO changes made to the file 
> and most of the times it doest load the data and doesnt show any error msg.
> when i change the input from "file" to "stdin' it works fine.
>
> this is the config file, which i belive the syntax is correct since it did 
> work twice...
>
> input{ 
> file{
> path => "C:\elasticsearch-1.2.0\testLog.txt"
>         start_position => "beginning"
> }
> } 
> output{
>        elasticsearch{
> host=> "localhost"
> index=> "tester3"
> protocol=> "http"
>    }
> }
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" 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/elasticsearch/a15b3d77-2064-433f-8dc7-c00f6f44a89e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to