# Way I can set the default fields

**URL:** https://discuss.elastic.co/t/way-i-can-set-the-default-fields/26554
**Category:** Kibana
**Created:** [July 30, 2015, 9:31am UTC](https://discuss.elastic.co/t/way-i-can-set-the-default-fields/26554 "2015-07-30T09:31:54Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![saif](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/saif/32/37431_2.png) [@saif](https://discuss.elastic.co/u/saif)
#### Post date: [July 30, 2015, 9:31am UTC](https://discuss.elastic.co/t/way-i-can-set-the-default-fields/26554/1 "2015-07-30T09:31:54Z")

</div>

HI

when I reload the UI it always goes back to the default of \_source

Is there a way I can set the default fields?

and aloso for a default dashboard

thank you

---

<div class="post-metadata">

### Author: ![tbragin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbragin/32/45166_2.png) [@tbragin](https://discuss.elastic.co/u/tbragin)
#### Post date: [July 30, 2015, 4:32pm UTC](https://discuss.elastic.co/t/way-i-can-set-the-default-fields/26554/2 "2015-07-30T16:32:32Z")

</div>

You can set the default dashboard as follows in kibana.yml:  
`
default_app_id: "dashboard/Your-Dashboard/Name"
`

I'm not sure what you mean by "default fields", could you elaborate?

---

<div class="post-metadata">

### Author: ![saif](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/saif/32/37431_2.png) [@saif](https://discuss.elastic.co/u/saif)
#### Post date: [July 30, 2015, 6:20pm UTC](https://discuss.elastic.co/t/way-i-can-set-the-default-fields/26554/3 "2015-07-30T18:20:31Z")

</div>

i want to set the default dashboard and the default discover

I was present for your conference at CERN 😄  
thank you

---

<div class="post-metadata">

### Author: ![netoben](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/netoben/32/3930_2.png) [@netoben](https://discuss.elastic.co/u/netoben)
#### Post date: [July 30, 2015, 7:28pm UTC](https://discuss.elastic.co/t/way-i-can-set-the-default-fields/26554/4 "2015-07-30T19:28:05Z")

</div>

I think I have similar issue, currently Kibana 4.1 defaults to show the \_all field, but that can change to be the "message" field, or at least that was possible before.

Here's the full explanation of it...

> [@Kibana 4.1 change the Primary\_Field from \_all to something else](https://discuss.elastic.co/t/kibana-4-1-change-the-primary-field-from--all-to-something-else/26587):
>
> Hi Guys I want to disable the "\_all" field because it consumes too much space and I really don't have a use for it. However Kibana 4.1 seems to default to that field for Visualization queries. I found an old topic that said modifying the KibanaConfig.rb file and set up the Primary\_field = "\_all" to Primary\_field = "message" would do the trick. However, I cannot find the KibanaConfig.rb anywhere in my installation. Was it removed in this version? If so ... how can I change that be…

---

<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: [July 6, 2017, 2:15pm UTC](https://discuss.elastic.co/t/way-i-can-set-the-default-fields/26554/5 "2017-07-06T14:15:32Z")

</div>


