# Normalize the logs with ELK

**URL:** <https://discuss.elastic.co/t/normalize-the-logs-with-elk/178684>\
**Category:** Logstash\
**Created:** [April 26, 2019, 3:58pm UTC](https://discuss.elastic.co/t/normalize-the-logs-with-elk/178684 "2019-04-26T15:58:27Z")\
**Posts on this page:** 2\
**Page:** 3

<div class="post-metadata">

**Author:** ![A\_B](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/a_b/32/17104_2.png) [@A\_B](https://discuss.elastic.co/u/A_B)\
**Post date:** [May 10, 2019, 2:40pm UTC](https://discuss.elastic.co/t/normalize-the-logs-with-elk/178684/41 "2019-05-10T14:40:48Z")

</div>

Move all files out of `/etc/logstash/conf.d/` to a backup location.

Create on new file with the following content in `/etc/logstash/conf.d/`

```
input {
  beats {
    port => 5044
  }
  udp {
    port => 1514
  }
}
filter {}
output {
  elasticsearch {
  }
}

```

That should work with the defaults for the `elasticsearch` output as long as you have Elasticsearch running on the same machine as Logstash.

Restart Logstash. Check that you can connect to UDP port 1514.

The [official Logstash documentation](https://www.elastic.co/guide/en/logstash/7.0/index.html) is quite good. There is a lot of it so it takes time to get through it. You don't really need to read everything though as you only use small parts of it.

---

<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:** [June 7, 2019, 2:55pm UTC](https://discuss.elastic.co/t/normalize-the-logs-with-elk/178684/42 "2019-06-07T14:55:13Z")

</div>

Closed on June 7, 2019, 2:55pm UTC

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

[Previous page](https://discuss.elastic.co/t/normalize-the-logs-with-elk/178684.md?page=2)
