# How to create unique id in logstash/elastic search for apache logs in a distributed server environment

**URL:** <https://discuss.elastic.co/t/how-to-create-unique-id-in-logstash-elastic-search-for-apache-logs-in-a-distributed-server-environment/161241>\
**Category:** Logstash\
**Created:** [December 18, 2018, 5:41am UTC](https://discuss.elastic.co/t/how-to-create-unique-id-in-logstash-elastic-search-for-apache-logs-in-a-distributed-server-environment/161241 "2018-12-18T05:41:14Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![elk\_dni\_1](https://avatars.discourse-cdn.com/v4/letter/e/82dd89/32.png) [@elk\_dni\_1](https://discuss.elastic.co/u/elk_dni_1)\
**Post date:** [December 20, 2018, 11:57am UTC](https://discuss.elastic.co/t/how-to-create-unique-id-in-logstash-elastic-search-for-apache-logs-in-a-distributed-server-environment/161241/11 "2018-12-20T11:57:34Z")

</div>

Hi Christian Thanks a lot for the blogs.

Can you please check : [Logstash to parse only part of apache log file](https://discuss.elastic.co/t/logstash-to-parse-only-part-of-apache-log-file/161682)

Just want to know using logstash if we can parse only part of apache log file. More details are in the post.

Thanks

---

_[View the full topic](https://discuss.elastic.co/t/how-to-create-unique-id-in-logstash-elastic-search-for-apache-logs-in-a-distributed-server-environment/161241)._
