# Kibana 8.0.1: Can't set logAlias on the configuration file

**URL:** <https://discuss.elastic.co/t/kibana-8-0-1-cant-set-logalias-on-the-configuration-file/300541>\
**Category:** Logs\
**Created:** [March 24, 2022, 8:41am UTC](https://discuss.elastic.co/t/kibana-8-0-1-cant-set-logalias-on-the-configuration-file/300541 "2022-03-24T08:41:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![panos-indev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/panos-indev/32/103455_2.png) [@panos-indev](https://discuss.elastic.co/u/panos-indev)\
**Post date:** [March 24, 2022, 8:41am UTC](https://discuss.elastic.co/t/kibana-8-0-1-cant-set-logalias-on-the-configuration-file/300541/1 "2022-03-24T08:41:51Z")

</div>

Hello,

I've been trying to configure logAlias to my config file and I get the following message:

[xpack.infra].sources.default.logAlias]: definition for this key is missing

I used the 2 below configurations on kibana.yml

`xpack.infra.sources.default.logAlias: 'logs-*,filebeat-*'`

or

```auto
xpack.infra:
    sources:
        default:
            logAlias: 'logs-*,filebeat-*'

```

I am using the [docker.elastic.co/kibana/kibana](http://docker.elastic.co/kibana/kibana) docker image.

I have read docs, issues and topics here and everything is blurry. Is logAlias supported on 8? Can logIndices be used on kibana's configuration file and how? Do logAlias and/or logIndices need more than "basic" xpack? What's the proposed method for setting up log indexes and sources/spaces without using the UI?

Thanks in advanced for any help.

---

<div class="post-metadata">

**Author:** ![panos-indev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/panos-indev/32/103455_2.png) [@panos-indev](https://discuss.elastic.co/u/panos-indev)\
**Post date:** [March 28, 2022, 6:36am UTC](https://discuss.elastic.co/t/kibana-8-0-1-cant-set-logalias-on-the-configuration-file/300541/2 "2022-03-28T06:36:04Z")

</div>

Hello again,

Any thoughts on this? Is there another way to make kibana show the log indexes i want, without using the UI?

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [March 29, 2022, 8:50am UTC](https://discuss.elastic.co/t/kibana-8-0-1-cant-set-logalias-on-the-configuration-file/300541/3 "2022-03-29T08:50:45Z")

</div>

This setting has been removed by [[Logs UI] [Metrics UI] Remove deprecated alias config entries by weltenwort · Pull Request #115974 · elastic/kibana · GitHub](https://github.com/elastic/kibana/pull/115974)

It's possible to configure it via UI (click the "Settings" menu in the top nav in the Logs app)

---

<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:** [April 26, 2022, 8:51am UTC](https://discuss.elastic.co/t/kibana-8-0-1-cant-set-logalias-on-the-configuration-file/300541/4 "2022-04-26T08:51:34Z")

</div>

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