# New index pattern to current index - topbeat-\*?

**URL:** https://discuss.elastic.co/t/new-index-pattern-to-current-index-topbeat/41627
**Category:** Elasticsearch
**Created:** [February 12, 2016, 3:06pm UTC](https://discuss.elastic.co/t/new-index-pattern-to-current-index-topbeat/41627 "2016-02-12T15:06:38Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![plonka2000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/plonka2000/32/5077_2.png) [@plonka2000](https://discuss.elastic.co/u/plonka2000)
#### Post date: [February 16, 2016, 11:16am UTC](https://discuss.elastic.co/t/new-index-pattern-to-current-index-topbeat/41627/10 "2016-02-16T11:16:57Z")

</div>

I think I got it to work!

Kibana now shows:  
 ![](https://us1.discourse-cdn.com/elastic/original/2X/4/4fb5d22835ae5db26468695a69698056f5e1c135.png)

**What I did:**  
I read up on the Index templates article [here](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-templates.html).

Ran a query against the cluster to check if there was a valid template for topbeat:  
`curl -XGET localhost:9200/_template/`  
Response:

## [code]logstash

@{order=0; template=logstash-\*; settings=; mappings=; aliases=}[/code]

So, I think there is no topbeat index template...

Next I used the content of `topbeat.template.json` file (included with `topbeat-1.1.1`), and used [kopf](https://github.com/lmenezes/elasticsearch-kopf) to create a new index template for topbeat:

 ![](https://us1.discourse-cdn.com/elastic/original/2X/6/63cc2f480f27ed8d026885dd923e18ad8db3f6e2.png)

I saw that refreshing still did no good.

So once again, I deleted everything (Didn't delete index template in kopf) and re-imported the entire stack:

> [@plonka2000](#):
>
> In the end I deleted all traces of the sample dashboards:  
> -Deleted all imported `Searches`  
> -Deleted all imported `Dashboards`  
> -Deleted all imported `index patterns`  
> -Deleted all imported `Visualisations`
> 
> Then:  
> -Imported latest `beats-dashboards-1.1.1` sample dashboards.

_ **Now it looks like it works!** _

I'm quite sure there is some way to do this all via the ES REST API, but I have not figured out that part yet.

---

_[View the full topic](https://discuss.elastic.co/t/new-index-pattern-to-current-index-topbeat/41627)._
