# Installing logstash plugin fails

**URL:** <https://discuss.elastic.co/t/installing-logstash-plugin-fails/125745>\
**Category:** Logstash\
**Created:** [March 27, 2018, 12:05pm UTC](https://discuss.elastic.co/t/installing-logstash-plugin-fails/125745 "2018-03-27T12:05:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![famat001](https://avatars.discourse-cdn.com/v4/letter/f/e47774/32.png) [@famat001](https://discuss.elastic.co/u/famat001)\
**Post date:** [March 27, 2018, 12:05pm UTC](https://discuss.elastic.co/t/installing-logstash-plugin-fails/125745/1 "2018-03-27T12:05:00Z")

</div>

Hi everyone,

I lately running into a Problem and I hope that I can get some help.

Some Background about the system we are using. We are running a server behind a firewall.  
The server is running Redhat 7.4 with the elasticsearch for installing software like elasticsearch and logstash.

I am using an ELK Stack in combination with Graylog to analyze log data from my servers.  
Everything is working as expected.

Now I have set up a server with logstash to recieve the logs via rsyslog instead of sending it directly to the server running elasticsearch.

This is because we plan to use the **kv-filter-plugin** to delete some information before storing it persistent by sending it with the **logstash-gelf-plugin** to graylog

Now by trying to install these plugins I run into some installation errors.

I already read some posts about similar problems but none of the solutions helped.

http\_proxy , https\_proxy oder HTTP\_PROXY and HTPPS\_PROXY are already set correctly.  
 ... and in the maven settings file are deleted.

I executed`JARS_DEBUG=true JARS_VERBOSE=true DEBUG=1 bin/logstash-plugin install logstash-output-gelf` and get the following output

```
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-parseable POM /usr/share/logstash/vendor/bundle/jruby/1.9/gems/jar-dependencies-0.3.11/lib/jars/gemspec_pom.rb: only whitespace content allowed before start tag and not # (position: START_DOCUMENT seen #... @1:1) @ line 1, column 1
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[FATAL] Non-parseable POM /usr/share/logstash/vendor/bundle/jruby/1.9/gems/jar-dependencies-0.3.11/lib/jars/gemspec_pom.rb: only whitespace content allowed before start tag and not # (position: START_DOCUMENT seen #... @1:1) @ line 1, column 1

        at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:422)
        at org.apache.maven.graph.DefaultGraphBuilder.collectProjects(DefaultGraphBuilder.java:419)
        at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor(DefaultGraphBuilder.java:410)
        at org.apache.maven.graph.DefaultGraphBuilder.build(DefaultGraphBuilder.java:83)
        at org.apache.maven.DefaultMaven.buildGraph(DefaultMaven.java:491)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:219)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
[ERROR]   
[ERROR] The project (/usr/share/logstash/vendor/bundle/jruby/1.9/gems/jar-dependencies-0.3.11/lib/jars/gemspec_pom.rb) has 1 error
[ERROR] Non-parseable POM /usr/share/logstash/vendor/bundle/jruby/1.9/gems/jar-dependencies-0.3.11/lib/jars/gemspec_pom.rb: only whitespace content allowed before start tag and not # (position: START_DOCUMENT seen #... @1:1) @ line 1, column 1 -> [Help 2]
org.apache.maven.model.io.ModelParseException: only whitespace content allowed before start tag and not # (position: START_DOCUMENT seen #... @1:1) 
        at org.apache.maven.model.io.DefaultModelReader.read(DefaultModelReader.java:122)
        at org.apache.maven.model.io.DefaultModelReader.read(DefaultModelReader.java:86)
        at org.apache.maven.model.building.DefaultModelProcessor.read(DefaultModelProcessor.java:81)

```

Thanks for any help

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 24, 2018, 12:06pm UTC](https://discuss.elastic.co/t/installing-logstash-plugin-fails/125745/2 "2018-04-24T12:06:14Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
