Logstash cannot compile the .conf file

-e is used to pass a config string to logstash on the command line. So it is trying to interpret "/etc/logstash/conf.d/name1/name2.conf", and it fails at column one:

 /

You would use -e like this:

/usr/share/logstash/bin/logstash -e 'input {stdin {}} output {stdout {}}'

You should be using -f

/usr/share/logstash/bin/logstash -f /etc/logstash/conf.d/name1/name2.conf