# How to hack source code

**URL:** https://discuss.elastic.co/t/how-to-hack-source-code/128827
**Category:** Kibana
**Created:** [April 20, 2018, 8:18am UTC](https://discuss.elastic.co/t/how-to-hack-source-code/128827 "2018-04-20T08:18:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![dr\_dob](https://avatars.discourse-cdn.com/v4/letter/d/71e660/32.png) [@dr\_dob](https://discuss.elastic.co/u/dr_dob)
#### Post date: [April 20, 2018, 8:18am UTC](https://discuss.elastic.co/t/how-to-hack-source-code/128827/1 "2018-04-20T08:18:17Z")

</div>

Hi,

I installed Kibana using Debian. I want to make some changes to the UI (e.g. edit Discover index.html to hide field side-bar, etc). Can I directly edit the source code in /usr/share/kibana/src. and simply restart Kibana, or am I missing something?

Thanks!  
Robert Stewart

---

<div class="post-metadata">

### Author: ![PolterFox](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/polterfox/32/29781_2.png) [@PolterFox](https://discuss.elastic.co/u/PolterFox)
#### Post date: [April 20, 2018, 10:55am UTC](https://discuss.elastic.co/t/how-to-hack-source-code/128827/2 "2018-04-20T10:55:26Z")

</div>

Yes, take a look at the sources and change it to your needs. If you need help you can look at the github repository of ELK.

Of course I will also help you as far as I can 🙂

If you want to rewrite the kibana styles look here:  
`src/core_plugins/kibana/public/dashboard/styles`

Best regards,  
Robert

---

<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: [May 18, 2018, 10:55am UTC](https://discuss.elastic.co/t/how-to-hack-source-code/128827/3 "2018-05-18T10:55:40Z")

</div>

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