# Kibana dashboards Could not locate that index-pattern (id: packetbeat-\*),

**URL:** https://discuss.elastic.co/t/kibana-dashboards-could-not-locate-that-index-pattern-id-packetbeat/116301
**Category:** Kibana
**Created:** [January 19, 2018, 8:29pm UTC](https://discuss.elastic.co/t/kibana-dashboards-could-not-locate-that-index-pattern-id-packetbeat/116301 "2018-01-19T20:29:10Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![kencrozier](https://avatars.discourse-cdn.com/v4/letter/k/ba9def/32.png) [@kencrozier](https://discuss.elastic.co/u/kencrozier)
#### Post date: [January 19, 2018, 8:29pm UTC](https://discuss.elastic.co/t/kibana-dashboards-could-not-locate-that-index-pattern-id-packetbeat/116301/1 "2018-01-19T20:29:11Z")

</div>

HI, I'm new to ELK so sorry if this is posted in the wrong place.  
I have a new installation, there are two VM's #1 is running the full stack ELK version 6.1.2 and the indices are created

[root@elkhost bin]# curl -XGET 'localhost:9200/\_cat/indices?v&pretty'  
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size  
yellow open .monitoring-kibana-2-2018.01.16 1MfgIJKaRi2Voq8jLQHtFg 1 1 3283 0 821.5kb 821.5kb  
yellow open .kibana AzB9Jda6Sw-o-U1ZyfZKjA 1 1 209 3 174.9kb 174.9kb  
yellow open packetbeat-2018.01.19 eHxBnLViSAi4oaHiOqmBeg 5 1 53738 0 18.3mb 18.3mb  
yellow open .monitoring-data-2 axS2ZI24SPCCG4Mn2ae-kw 1 1 3 0 7.2kb 7.2kb  
yellow open netflow-2018.01.17 4hoRj6VDQ0qCUwOIts8rxA 5 1 16664 0 18.9mb 18.9mb  
yellow open .monitoring-es-2-2018.01.15 trSXQLm-T\_KPPcm88YfDlA 1 1 405 8 314.9kb 314.9kb  
yellow open .monitoring-kibana-2-2018.01.15 zOAnzyjHQ160yDoavyeJCw 1 1 76 0 53.9kb 53.9kb  
yellow open .monitoring-es-2-2018.01.16 rPc8fTBtRFGoGlaTvN\_KfQ 1 1 23421 72 9.2mb 9.2mb  
[root@elkhost bin]#

and I can access Kibana interface and see the indices. On this instance of logstash I have the netflow module active....

VM #2 has packetbeat and logstash running and everything seems to be normal ....

My problem is when I go into Kibana and try and view anything I get the message to reindex both the netflow and the packbeats indices ...

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/4/74939e629b0dcc54eca99a8cff2745a3b1c26e5d.png)

I've re-created the indices with and without timestamps and get the same message, so i'm thinking that there must be something more fundamental wrong with my installation ....

what more can i provide here to help you help me .....

Thanks in advance  
Ken

---

<div class="post-metadata">

### Author: ![Bargs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bargs/32/5429_2.png) [@Bargs](https://discuss.elastic.co/u/Bargs)
#### Post date: [January 19, 2018, 8:48pm UTC](https://discuss.elastic.co/t/kibana-dashboards-could-not-locate-that-index-pattern-id-packetbeat/116301/2 "2018-01-19T20:48:01Z")

</div>

Newer versions of Kibana assign a randomly generated ID to index pattern objects instead of using the index pattern name as the ID. How did you originally create these dashboards and index patterns? Are they from an older Kibana install, or are you using an older version of Packetbeat perhaps?

---

<div class="post-metadata">

### Author: ![kencrozier](https://avatars.discourse-cdn.com/v4/letter/k/ba9def/32.png) [@kencrozier](https://discuss.elastic.co/u/kencrozier)
#### Post date: [January 19, 2018, 9:04pm UTC](https://discuss.elastic.co/t/kibana-dashboards-could-not-locate-that-index-pattern-id-packetbeat/116301/3 "2018-01-19T21:04:31Z")

</div>

Hi Bargs, thanks for responding ... This is all a new install on 6.1.2 - SO for the netflow I used

bin/logstash --modules netflow --setup -M netflow.var.input.udp.port=2055

for Packetbeats I enabled the automatic creation of dashboards via the .yml config file ...

#============================== Kibana =====================================

# Starting with Beats version 6.0.0, the dashboards are loaded via the Kibana API.

# This requires a Kibana endpoint configuration.

setup.kibana:

# Kibana Host

# Scheme and port can be left out and will be set to the default (http and 5601)

# In case you specify and additional path, the scheme is required: [http://localhost:5601/path](http://localhost:5601/path)

# IPv6 addresses should always be defined as: https://[2001:db8::1]:5601

host: "10.0.1.13:5601"

Packetbeats is ... 6.1.2

---

<div class="post-metadata">

### Author: ![Bargs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bargs/32/5429_2.png) [@Bargs](https://discuss.elastic.co/u/Bargs)
#### Post date: [January 25, 2018, 11:12pm UTC](https://discuss.elastic.co/t/kibana-dashboards-could-not-locate-that-index-pattern-id-packetbeat/116301/4 "2018-01-25T23:12:52Z")

</div>

Hey, I'm sorry this has lingered so long without a reply. I checked with the Beats team and they're not aware of an existing issue with the pre-made dashboards in 6.1.2. I've been meaning to see if I can reproduce the problem but I just haven't had the bandwidth. I'll see if a Beats team member can take a look at this thread, but if you don't get a response I'd recommend either re-posting the question in the Beats forum or filing a ticket for this issue on the [Beats repo](https://github.com/elastic/beats) if you suspect this is a bug.

---

<div class="post-metadata">

### Author: ![tudor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tudor/32/3753_2.png) [@tudor](https://discuss.elastic.co/u/tudor)
#### Post date: [January 26, 2018, 12:50pm UTC](https://discuss.elastic.co/t/kibana-dashboards-could-not-locate-that-index-pattern-id-packetbeat/116301/5 "2018-01-26T12:50:42Z")

</div>

I tried to reproduce this with Packetbeat, but couldn't. Can you try loading the dashboards again by running:

```auto
./packetbeat setup

```

Note that you should **not** define the index pattern manually, because Packetbeat creates an index pattern automatically on the `setup` command.

---

<div class="post-metadata">

### Author: ![kencrozier](https://avatars.discourse-cdn.com/v4/letter/k/ba9def/32.png) [@kencrozier](https://discuss.elastic.co/u/kencrozier)
#### Post date: [January 26, 2018, 7:26pm UTC](https://discuss.elastic.co/t/kibana-dashboards-could-not-locate-that-index-pattern-id-packetbeat/116301/6 "2018-01-26T19:26:53Z")

</div>

I've done a couple of things, first I removed Kibana and Logstash from Host 1 and readded them. Started Kibana, and then started logstash with --modules netflow --setup - that cleared up the netflow dashboards  
I then ran packetbeats with setup --dashboards on host 2 and that cleared up the packetbeat dashboards ...

however on some of the dashboards DNS tunnelling I get a couple of errors about saved fields not being valid

 ![49%20AM](https://us1.discourse-cdn.com/elastic/original/3X/3/c/3c56eabe42a73baed7fee5ca43c5f12e7581879f.png)

---

<div class="post-metadata">

### Author: ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)
#### Post date: [February 14, 2018, 2:21am UTC](https://discuss.elastic.co/t/kibana-dashboards-could-not-locate-that-index-pattern-id-packetbeat/116301/7 "2018-02-14T02:21:07Z")

</div>

I see the exact same thing, the `Visualize: "field" is a required parameter` and `Saved "field" parameter is now invalid. Please select a new field.` messages.

---

<div class="post-metadata">

### Author: ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)
#### Post date: [February 14, 2018, 2:24am UTC](https://discuss.elastic.co/t/kibana-dashboards-could-not-locate-that-index-pattern-id-packetbeat/116301/8 "2018-02-14T02:24:19Z")

</div>

I've tried purging all dashboards and the `packetbeat-*` index pattern and running `packetbeat --setup` again. It's just not working.

---

<div class="post-metadata">

### Author: ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)
#### Post date: [February 14, 2018, 2:35am UTC](https://discuss.elastic.co/t/kibana-dashboards-could-not-locate-that-index-pattern-id-packetbeat/116301/9 "2018-02-14T02:35:27Z")

</div>

I can tell you why it failed. The default template does not have a hard-mapped `@timestamp` field, and `"date_detection"` is set to `false`. In other words, the visualizations can't work without the non-date-mapped `@timestamp` field. Just get the mapping, you'll see `@timestamp` is mapped as a `keyword`

```auto
        "date_detection": false,
        "properties": {
          "@timestamp": {
            "type": "keyword",
            "ignore_above": 1024
          },

```

---

<div class="post-metadata">

### Author: ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)
#### Post date: [February 14, 2018, 2:43am UTC](https://discuss.elastic.co/t/kibana-dashboards-could-not-locate-that-index-pattern-id-packetbeat/116301/10 "2018-02-14T02:43:41Z")

</div>

Confirm fix: Update mapping template to make `@timestamp` a `date`.

---

<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 14, 2018, 2:44am UTC](https://discuss.elastic.co/t/kibana-dashboards-could-not-locate-that-index-pattern-id-packetbeat/116301/11 "2018-03-14T02:44:05Z")

</div>

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