# Issue with auditbeat 7.6.2 Dashboards

**URL:** <https://discuss.elastic.co/t/issue-with-auditbeat-7-6-2-dashboards/231377>\
**Category:** Beats\
**Tags:** auditbeat\
**Created:** [May 6, 2020, 3:48pm UTC](https://discuss.elastic.co/t/issue-with-auditbeat-7-6-2-dashboards/231377 "2020-05-06T15:48:40Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![karthiknpy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karthiknpy/32/53587_2.png) [@karthiknpy](https://discuss.elastic.co/u/karthiknpy)\
**Post date:** [May 6, 2020, 3:48pm UTC](https://discuss.elastic.co/t/issue-with-auditbeat-7-6-2-dashboards/231377/1 "2020-05-06T15:48:41Z")

</div>

I have an elastic cloud instance, I'm trying to setup auditbeat for some threat hunting purposes

1. I have installed auditbeat on a Linux server

2. Enabled the below datasets

3. setup.dashboards.enabled: true

4. Set the output to redis list --\> Redis list to---\>Elastic (Success)

5. auditbeat setup --dashboards --\> Success

I'm getting those data in elastic search successfully. When I open dashboards generated by auditbeat setup --dashboards command. It is showing various errors

The below are the some of the errors which I'm getting. Not even one dashboard loads without errors.

```
Saved "field" parameter is now invalid. Please select a new field.

[esaggs] > "field" is a required parameter

Could not locate that index-pattern-field (id: socket.entity_id)

```

When checked the index pattern I can see that certain fields which Dashboard throws errors are missing in the index pattern.

Could you please help me on how to fix this?

Regards  
Karthik.K

---

<div class="post-metadata">

**Author:** ![karthiknpy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karthiknpy/32/53587_2.png) [@karthiknpy](https://discuss.elastic.co/u/karthiknpy)\
**Post date:** [May 7, 2020, 3:12pm UTC](https://discuss.elastic.co/t/issue-with-auditbeat-7-6-2-dashboards/231377/2 "2020-05-07T15:12:52Z")

</div>

Hi Admins,

Could you please shed some light here ?

Or does anyone need any more info. Kindly comment.

It will be really helpful if any one can assist.

Regards  
Karthik.K

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [May 7, 2020, 3:25pm UTC](https://discuss.elastic.co/t/issue-with-auditbeat-7-6-2-dashboards/231377/3 "2020-05-07T15:25:25Z")

</div>

Since you are going through Redis, did you install the Elasticsearch index template for the auditbeat-\* indices?

[https://www.elastic.co/guide/en/beats/auditbeat/7.x/auditbeat-template.html](https://www.elastic.co/guide/en/beats/auditbeat/7.x/auditbeat-template.html)

---

<div class="post-metadata">

**Author:** ![karthiknpy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karthiknpy/32/53587_2.png) [@karthiknpy](https://discuss.elastic.co/u/karthiknpy)\
**Post date:** [May 8, 2020, 5:38am UTC](https://discuss.elastic.co/t/issue-with-auditbeat-7-6-2-dashboards/231377/4 "2020-05-08T05:38:17Z")

</div>

Hi Andrews,

Thanks for your reply.

Here I'm using redis to just ensure smooth polling of data to elastic. I'm not enhacing any data which audit beat send to redis.

So I want to use the available default index template which auditbeat creates if the data is send directly from beats to elastic.

Can you guide me how can I achieve this ?

Regards  
Karthik.K

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [May 8, 2020, 8:45pm UTC](https://discuss.elastic.co/t/issue-with-auditbeat-7-6-2-dashboards/231377/5 "2020-05-08T20:45:25Z")

</div>

The documentation I linked to shows an example for when you are using the Logstash output. Just substitute `redis` for `logstash` in the commands. Like if you were on Linux

`./auditbeat setup --index-management -E output.redis.enabled=false -E 'output.elasticsearch.hosts=["localhost:9200"]'`

---

<div class="post-metadata">

**Author:** ![karthiknpy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karthiknpy/32/53587_2.png) [@karthiknpy](https://discuss.elastic.co/u/karthiknpy)\
**Post date:** [May 12, 2020, 6:38am UTC](https://discuss.elastic.co/t/issue-with-auditbeat-7-6-2-dashboards/231377/6 "2020-05-12T06:38:32Z")

</div>

Thats wonderful..!!

I have added the below few lines which served the purpose.

```
 setup.template:
   name: "auditbeat"
   pattern: "auditbeat-*"
   fields: "/etc/auditbeat/fields.yml"
   enabled: true
   overwrite: true

setup.dashboards.enabled: true
setup.dashboards.index: "auditbeat-*"
setup.ilm.enabled: false

```

Here when I enable ilm it is automatically creating index in specific format. So inorder to avoid that I have disabled that.

But ilm is a good feature. I would like to have it. Is there any way I can enable ilm on a index with custom name ?

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [May 14, 2020, 12:56pm UTC](https://discuss.elastic.co/t/issue-with-auditbeat-7-6-2-dashboards/231377/7 "2020-05-14T12:56:15Z")

</div>

ILM ignores the `setup.template.name` and `setup.template.pattern` options. You need to use the defaults to have the built-in policy work. (source: [https://www.elastic.co/guide/en/beats/auditbeat/current/ilm.html](https://www.elastic.co/guide/en/beats/auditbeat/current/ilm.html))

Setting up your own ILM policy is possible. You'll need to manage the template yourself and follow the steps in the ILM [tutorial](https://www.elastic.co/guide/en/elasticsearch/reference/7.7/getting-started-index-lifecycle-management.html). But consider using the default index naming so you can use the automatic ILM setup. The indices include the version for a reason. It make upgrades easier and prevents conflicts in mappings/templates.

---

<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:** [June 11, 2020, 2:56pm UTC](https://discuss.elastic.co/t/issue-with-auditbeat-7-6-2-dashboards/231377/8 "2020-06-11T14:56:27Z")

</div>

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