# Document names in a time stamp scenario

**URL:** <https://discuss.elastic.co/t/document-names-in-a-time-stamp-scenario/147886>\
**Category:** Elasticsearch\
**Created:** [September 10, 2018, 6:09am UTC](https://discuss.elastic.co/t/document-names-in-a-time-stamp-scenario/147886 "2018-09-10T06:09:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ecarmona](https://avatars.discourse-cdn.com/v4/letter/e/c57346/32.png) [@ecarmona](https://discuss.elastic.co/u/ecarmona)\
**Post date:** [September 10, 2018, 6:09am UTC](https://discuss.elastic.co/t/document-names-in-a-time-stamp-scenario/147886/1 "2018-09-10T06:09:50Z")

</div>

Dear All,

I hope this message finds you well. I have a question, which would be the best practice to name a document, in the scenario that I'm receiving documents every second? The document structure, came with an standard unique document name like "HOST\_TIMESTAMP". Are there any best practices when naming document in scenarios as this one? which is the advantage of setting file names instead of letting elastic assign an unique id per document?

Thanks in advance,

Erik

---

<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:** [October 8, 2018, 6:09am UTC](https://discuss.elastic.co/t/document-names-in-a-time-stamp-scenario/147886/2 "2018-10-08T06:09:58Z")

</div>

Closed on October 8, 2018, 6:09am UTC

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