Logstash plugin exec error: Port number ended with '\'

Hi,

I want to execute a CURL aggreation in Logstash & schedule it every 1 mins and store the data in elastic search. I'm using exec logstash plugin to do, here is my code:

input{
	exec{
		codec => json 
		command =>"curl -XGET -H 'Content-Type:application/json' --data @agg.json http://localhost:9200/test/_search"
		interval => 5
		#schedule => "*/1 * * * *"
	}
}

output{
	stdout{codec => rubydebug}
}

but when I run the archive.conf i get the error: Port number ended with '/'
Does anybody could help me ?