Note that Logstash Forwarder is deprecated and replaced by Filebeat. Since you seem to be having a new project, you might want to consider using that instead.
I think the configuration file is correct and fine. When we are testing the json script, it is stating as Valid JSON.
By the way i am putting in the code for your reference here:
And the errors what we are facing from long time is furnished below:
2016/05/03 07:07:43.629399 Failed unmarshalling json: json: cannot unmarshal object into Go value of type []main.FileConfig
2016/05/03 07:07:43.629411 Could not load config file /etc/logstash-forwarder.conf: json: cannot unmarshal object into Go value of type []main.FileConfig
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.