# Logstash runs but shows no output on server

**URL:** <https://discuss.elastic.co/t/logstash-runs-but-shows-no-output-on-server/328754>\
**Category:** Logstash\
**Created:** [March 28, 2023, 9:50pm UTC](https://discuss.elastic.co/t/logstash-runs-but-shows-no-output-on-server/328754 "2023-03-28T21:50:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ste1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ste1/32/119876_2.png) [@ste1](https://discuss.elastic.co/u/ste1)\
**Post date:** [March 28, 2023, 9:50pm UTC](https://discuss.elastic.co/t/logstash-runs-but-shows-no-output-on-server/328754/1 "2023-03-28T21:50:46Z")

</div>

I'm new to the Elastic Stack.

I have a logstash config which parses and filters csv files and it looks like this:

```auto
input {
    file {
        path => "/path/to/file"
        start_position => "beginning"
	sincedb_path => "/dev/null"
    }
}
filter {
  csv {
    autodetect_column_names => true
    target => "_tmp"
  }
  mutate {
    add_field => {
      "[data][email]" => "%{[_tmp][email]}"
      "[data][username]" => "%{[_tmp][username]}"
      "[data][ip]" => "%{[_tmp][ip]}"
    }
  }
  mutate {
    remove_field => ["_tmp"]
  }
  prune {
    whitelist_names => ["data"]
  }
}
output { // I would usually have it output to elasticsearch but for now I just have the output go to console as at first I thought the issue was in elasticsearch, but it isnt.
    stdout{}
}

```

After running ./logstash -f /path/to/config the config will work perfectly fine on my windows machine but not on my Ubuntu server. The only output I get is

```auto
Using bundled JDK: /usr/share/logstash/jdk
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.

```

Whereas on my windows machine I get the output I expect.  
There are no error logs in /var/log/logstash/

Could this be an issue with memory? My server has limited hardware.

---

<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 25, 2023, 9:51pm UTC](https://discuss.elastic.co/t/logstash-runs-but-shows-no-output-on-server/328754/2 "2023-04-25T21:51:38Z")

</div>

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