# Logstash will not start with netflow module

**URL:** https://discuss.elastic.co/t/logstash-will-not-start-with-netflow-module/136151
**Category:** Logstash
**Created:** [June 15, 2018, 10:24pm UTC](https://discuss.elastic.co/t/logstash-will-not-start-with-netflow-module/136151 "2018-06-15T22:24:12Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![jkevan](https://avatars.discourse-cdn.com/v4/letter/j/839c29/32.png) [@jkevan](https://discuss.elastic.co/u/jkevan)
#### Post date: [June 15, 2018, 10:24pm UTC](https://discuss.elastic.co/t/logstash-will-not-start-with-netflow-module/136151/1 "2018-06-15T22:24:13Z")

</div>

I have Logstash installed as a service. It starts as root so i can bind privileged ports.  
i successfully ran the

```auto
bin/logstash --modules netflow --setup -M "netflow.var.kibana.host=10.x.x.x:5601" -M "netflow.var.input.udp.port=9996" -M "netflow.var.elasticsearch.hosts=10.x.x.x:9200"

```

to get the dashboards and index pattern setup. I then put the module configs in the logstash.yml:

```auto
modules:
  - name: netflow
    var.elasticsearch.hosts: "10.x.x.x:9200"
    var.kibana.host: "10.x.x.x:5601"
    var.input.udp.port: 9996

```

and started her up... the module starts to load but then hangs on

```auto
[2018-06-15T15:15:32,382][INFO][logstash.filters.translate] refreshing dictionary file
[2018-06-15T15:15:32,410][INFO][logstash.filters.translate] refreshing dictionary file
[2018-06-15T15:15:32,411][INFO][logstash.filters.translate] refreshing dictionary file
[2018-06-15T15:15:32,443][INFO][logstash.filters.translate] refreshing dictionary file
[2018-06-15T15:20:32,633][INFO][logstash.filters.translate] refreshing dictionary file
[2018-06-15T15:20:32,663][INFO][logstash.filters.translate] refreshing dictionary file
[2018-06-15T15:20:32,693][INFO][logstash.filters.translate] refreshing dictionary file
[2018-06-15T15:20:32,721][INFO][logstash.filters.translate] refreshing dictionary file
[2018-06-15T15:20:32,748][INFO][logstash.filters.translate] refreshing dictionary file
[2018-06-15T15:20:32,773][INFO][logstash.filters.translate] refreshing dictionary file

```

is this a permission issue because its being run as root? or is it something deeper?

Thanks

---

<div class="post-metadata">

### Author: ![jkevan](https://avatars.discourse-cdn.com/v4/letter/j/839c29/32.png) [@jkevan](https://discuss.elastic.co/u/jkevan)
#### Post date: [June 15, 2018, 10:30pm UTC](https://discuss.elastic.co/t/logstash-will-not-start-with-netflow-module/136151/2 "2018-06-15T22:30:00Z")

</div>

nevermind it looks like it started successfully, but it only started the one (netflow) pipeline... all my other pipelines were not started.

---

<div class="post-metadata">

### Author: ![rcowart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rcowart/32/88091_2.png) [@rcowart](https://discuss.elastic.co/u/rcowart)
#### Post date: [June 17, 2018, 8:56am UTC](https://discuss.elastic.co/t/logstash-will-not-start-with-netflow-module/136151/3 "2018-06-17T08:56:24Z")

</div>

The Logstash modules will take over your Logstash configuration, and cannot be setup in combination with other Pipelines. This is a known issue.

A few points that might be relevant for you:

1. The Logstash Netflow Module was originally based on ElastiFlow 1.0.0 and is quite dated at this point. You might want to consider using the latest release of [ElastiFlow](https://github.com/robcowart/elastiflow) instead. You can see a comparison of the differences [HERE](http://www.koiossian.com/synesis-network-flow-analytics/). You will notice from the setup instructions that ElastiFlow is designed to be setup in `pipelines.yml` and fully supports running along side other pipelines. _However_...

2. Just because you can run ElastiFlow in a multi-pipeline setup. Network flow data can be very voluminous. This is easily underestimated. You will want to be certain that you have sufficient resources available to handle the amount of data you will collect. You might find it necessary to give Flow collection it own dedicated Logstash instance, tuned to the needs of high UDP ingest rates.

---

<div class="post-metadata">

### Author: ![jkevan](https://avatars.discourse-cdn.com/v4/letter/j/839c29/32.png) [@jkevan](https://discuss.elastic.co/u/jkevan)
#### Post date: [June 21, 2018, 3:59pm UTC](https://discuss.elastic.co/t/logstash-will-not-start-with-netflow-module/136151/4 "2018-06-21T15:59:28Z")

</div>

Great information! Thank you! I have decided to keep my elastiflow monitoring on it's own instance, as after a day of collecting logs from just one core I was pulling in 13GB of logs in one day.

---

<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 19, 2018, 3:59pm UTC](https://discuss.elastic.co/t/logstash-will-not-start-with-netflow-module/136151/5 "2018-07-19T15:59:32Z")

</div>

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