# What is the difference between \*:logstash-\* & logstash-\*

**URL:** <https://discuss.elastic.co/t/what-is-the-difference-between-logstash-logstash/106115>\
**Category:** Logstash\
**Created:** [November 2, 2017, 3:34am UTC](https://discuss.elastic.co/t/what-is-the-difference-between-logstash-logstash/106115 "2017-11-02T03:34:50Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Blason](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/blason/32/42284_2.png) [@Blason](https://discuss.elastic.co/u/Blason)\
**Post date:** [November 2, 2017, 3:34am UTC](https://discuss.elastic.co/t/what-is-the-difference-between-logstash-logstash/106115/1 "2017-11-02T03:34:50Z")

</div>

Hi Guys,

Wondering what is the difference between creating index pattern _:logstash-_ and logstash-\* other than index names starting with any:logstatsh?

I mean not sure if there is any other significance?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 2, 2017, 3:42am UTC](https://discuss.elastic.co/t/what-is-the-difference-between-logstash-logstash/106115/2 "2017-11-02T03:42:53Z")

</div>

Where have you seen the first pattern? I've never seen that before.

However patterns are (mostly) literal, so unless you have an index called `somethinghere:logstash-DATE`, then it won't be of any use.

---

<div class="post-metadata">

**Author:** ![Blason](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/blason/32/42284_2.png) [@Blason](https://discuss.elastic.co/u/Blason)\
**Post date:** [November 2, 2017, 6:12am UTC](https://discuss.elastic.co/t/what-is-the-difference-between-logstash-logstash/106115/3 "2017-11-02T06:12:27Z")

</div>

I see so it does not make any sense and I need to add it as logstash-\* ?  
Right?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 2, 2017, 6:48am UTC](https://discuss.elastic.co/t/what-is-the-difference-between-logstash-logstash/106115/4 "2017-11-02T06:48:32Z")

</div>

Yep, that is all you need to do.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [November 2, 2017, 6:51am UTC](https://discuss.elastic.co/t/what-is-the-difference-between-logstash-logstash/106115/5 "2017-11-02T06:51:30Z")

</div>

The first pantern is required if you want to use [Kibana with cross-cluster search](https://www.elastic.co/guide/en/kibana/5.6/management-cross-cluster-search.html). The second pattern assumes you are querying just a single cluster.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 2, 2017, 6:53am UTC](https://discuss.elastic.co/t/what-is-the-difference-between-logstash-logstash/106115/6 "2017-11-02T06:53:29Z")

</div>

Oh, that I did not know!

---

<div class="post-metadata">

**Author:** ![Blason](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/blason/32/42284_2.png) [@Blason](https://discuss.elastic.co/u/Blason)\
**Post date:** [November 2, 2017, 7:23am UTC](https://discuss.elastic.co/t/what-is-the-difference-between-logstash-logstash/106115/7 "2017-11-02T07:23:46Z")

</div>

Ah that is right!! That could be the case since the logstash files I am  
referring to has multiple elastichosts..

Thanks a ton 🙂

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [November 2, 2017, 8:05am UTC](https://discuss.elastic.co/t/what-is-the-difference-between-logstash-logstash/106115/8 "2017-11-02T08:05:57Z")

</div>

Multiple hosts can still be a single cluster, and does not necessarily imply the use of [cross-cluster search](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/modules-cross-cluster-search.html).

---

<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:** [November 30, 2017, 8:06am UTC](https://discuss.elastic.co/t/what-is-the-difference-between-logstash-logstash/106115/9 "2017-11-30T08:06:00Z")

</div>

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