# Logstash Arcsight Module issue

**URL:** https://discuss.elastic.co/t/logstash-arcsight-module-issue/133457
**Category:** Logstash
**Created:** [May 28, 2018, 5:42am UTC](https://discuss.elastic.co/t/logstash-arcsight-module-issue/133457 "2018-05-28T05:42:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Madhukar](https://avatars.discourse-cdn.com/v4/letter/m/aeb1de/32.png) [@Madhukar](https://discuss.elastic.co/u/Madhukar)
#### Post date: [May 28, 2018, 5:42am UTC](https://discuss.elastic.co/t/logstash-arcsight-module-issue/133457/1 "2018-05-28T05:42:50Z")

</div>

I've to ingest logs via smart connector to logstash. I installed x-pack and the arcsight module (Followed this link [https://www.elastic.co/guide/en/logstash/current/arcsight-module.html](https://www.elastic.co/guide/en/logstash/current/arcsight-module.html))

In logstash.yml, I have mentioned the details as below:

modules:

- name: arcsight  
var.elasticsearch.hosts: "192.168.2.142:9200"  
var.elasticsearch.username: "elastic"  
var.elasticsearch.password: "elastic@123"  
var.kibana.host: "192.168.2.142:5601"  
var.kibana.username: "kibana"  
var.kibana.password: "kibana@123"  
var.smartconnector.port: "5000"

No matter what I do, the port is not opening:  
root@elastic:~# netcat -zv 192.168.2.141 5000  
netcat: connect to 192.168.2.141 port 5000 (tcp) failed: Connection refused

When i run logstash, I get below output :

elk@ELK:~$ sudo /usr/share/logstash/bin/logstash --modules arcsight  
Sending Logstash's logs to /var/log/logstash which is now configured via log4j2.properties  
Got response code '401' contacting Elasticsearch at URL '[http://localhost:9200/\_xpack](http://localhost:9200/_xpack)'  
Got response code '401' contacting Elasticsearch at URL '[http://localhost:9200/\_xpack](http://localhost:9200/_xpack)'  
Got response code '401' contacting Elasticsearch at URL '[http://localhost:9200/\_xpack](http://localhost:9200/_xpack)'  
Got response code '401' contacting Elasticsearch at URL '[http://localhost:9200/\_xpack](http://localhost:9200/_xpack)'  
Got response code '401' contacting Elasticsearch at URL '[http://localhost:9200/\_xpack](http://localhost:9200/_xpack)'  
.  
.  
.

Please suggest.

---

<div class="post-metadata">

### Author: ![sm00thindian](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sm00thindian/32/27376_2.png) [@sm00thindian](https://discuss.elastic.co/u/sm00thindian)
#### Post date: [June 4, 2018, 3:29pm UTC](https://discuss.elastic.co/t/logstash-arcsight-module-issue/133457/2 "2018-06-04T15:29:45Z")

</div>

Passing in command line arguments makes logstash bypass other things like pipelines etc. So you're not passing in the authentication in your YML file. You don't need the command arguments if you have everything in your logstash.yml (bin/logstash should suffice) Check your variable names and spacing. The yml file is very picky when parsed.

-krw

---

<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: [July 2, 2018, 3:29pm UTC](https://discuss.elastic.co/t/logstash-arcsight-module-issue/133457/3 "2018-07-02T15:29:59Z")

</div>

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