Unable to import from logstash to ES after upgrading to alpha release of xpack


(Geetha Ram) #1

I had standalone ES - 2.3.4 , Logstash l;atest and Kibana - 4.5.3. - All of this worked with no issues in my local.

I upgraded to Alpha version 5 for ES and Kibana and also installed xpack, After this, Iam not able to push my data from logstash to ES.
here is the config that I have:
input {
file {
path => "C:/name.csv"
start_position => "beginning"
}
}
filter {
csv {
columns => ["NAME_ID","NUMBER","ND","NAME"]
separator => ","
}
}
output {
elasticsearch {
action => "index"
hosts => "localhost"
index => "01_name-%{+YYYY.MM.dd}"
workers => 1
user => "elastic"
password => "changeme"
}
}


(Mark Walkom) #2

What does that mean, not push it how?
What is happening?
What is not happening?


(Geetha Ram) #3

It is working now. Got a security exception. Added username,password.
I used the logstash -f .. command. The console was blank with no output for about 5-10 mins. After that it displayed the usual "pipeline main started". I started this thread when the console was blank


(Alexander Reelsen) #4

Hey,

can you put data into the index you specified using curl? Like

curl -X PUT -u elastic:changeme http://localhost:9200/01_name-2016.08.05 -d '{ "foo" : "bar" }'

--Alex


(system) #5