# Is that Elastic way? \[beginner question\]

**URL:** <https://discuss.elastic.co/t/is-that-elastic-way-beginner-question/117814>\
**Category:** Elasticsearch\
**Created:** [January 31, 2018, 1:38pm UTC](https://discuss.elastic.co/t/is-that-elastic-way-beginner-question/117814 "2018-01-31T13:38:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![uirobot](https://avatars.discourse-cdn.com/v4/letter/u/dc4da7/32.png) [@uirobot](https://discuss.elastic.co/u/uirobot)\
**Post date:** [January 31, 2018, 1:38pm UTC](https://discuss.elastic.co/t/is-that-elastic-way-beginner-question/117814/1 "2018-01-31T13:38:16Z")

</div>

I’m newbie in Elastic and right now creating my first project.  
I have an index where I store data from logstash. It storing devices metrics, and have device ID. Also I plan to create new index and store another data (data from third party service). I plan to create 3rd index where I will connect device ID and data from 2nd index, because I need aggregated data.

Is it right way to organise data in elastic? Can I in future make cross-indexes requests?

Thank you

---

<div class="post-metadata">

**Author:** ![kscarr73](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kscarr73/32/19670_2.png) [@kscarr73](https://discuss.elastic.co/u/kscarr73)\
**Post date:** [January 31, 2018, 4:32pm UTC](https://discuss.elastic.co/t/is-that-elastic-way-beginner-question/117814/2 "2018-01-31T16:32:30Z")

</div>

To make it easier to query across indexes, I would suggest having a prefix for the indexes you plan to query this way.

Something like:

uirobot\_logstash-2018.01.31  
uirobot\_thirdpart-2018.01.31

That way you can easily query across indexes with:

```
uirobot_*
```

---

<div class="post-metadata">

**Author:** ![uirobot](https://avatars.discourse-cdn.com/v4/letter/u/dc4da7/32.png) [@uirobot](https://discuss.elastic.co/u/uirobot)\
**Post date:** [February 1, 2018, 2:25pm UTC](https://discuss.elastic.co/t/is-that-elastic-way-beginner-question/117814/3 "2018-02-01T14:25:35Z")

</div>

thank you

---

<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:** [March 1, 2018, 2:26pm UTC](https://discuss.elastic.co/t/is-that-elastic-way-beginner-question/117814/4 "2018-03-01T14:26:12Z")

</div>

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