# Set different src folder

**URL:** <https://discuss.elastic.co/t/set-different-src-folder/26745>\
**Category:** Kibana\
**Created:** [August 3, 2015, 6:53pm UTC](https://discuss.elastic.co/t/set-different-src-folder/26745 "2015-08-03T18:53:25Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![vilas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vilas/32/613_2.png) [@vilas](https://discuss.elastic.co/u/vilas)\
**Post date:** [August 3, 2015, 6:53pm UTC](https://discuss.elastic.co/t/set-different-src-folder/26745/1 "2015-08-03T18:53:25Z")

</div>

Hi,

We have Kibana 4 installed in read-only environment.  
And we would like to modify the src files. So we want to copy the src in different location and modify.  
But can we set this new location in configuration for Kibana to work from?

Thanks.

---

<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:** [August 5, 2015, 3:26pm UTC](https://discuss.elastic.co/t/set-different-src-folder/26745/2 "2015-08-05T15:26:04Z")

</div>

I don't believe this is a supported scenario out-of-the-box.

---

<div class="post-metadata">

**Author:** ![spalger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spalger/32/14092_2.png) [@spalger](https://discuss.elastic.co/u/spalger)\
**Post date:** [August 5, 2015, 3:26pm UTC](https://discuss.elastic.co/t/set-different-src-folder/26745/3 "2015-08-05T15:26:32Z")

</div>

Hey @vilas. There isn't a configuration option for modifying the location of the kibana source code. As you can see from [the bin/kibana source](https://github.com/elastic/kibana/blob/master/bin/kibana) in master (which will be the start stript for 4.2) we are simply running code from the src/ directory using the bundled node.js executable. If you want to provide your own node.js executable you certainly could mimic that script, but it isn't a supported use case and whatever solution you end up with likely only work with a specific version of Kibana and will need to be updated or rewritten to support new versions.

---

<div class="post-metadata">

**Author:** ![vilas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vilas/32/613_2.png) [@vilas](https://discuss.elastic.co/u/vilas)\
**Post date:** [August 5, 2015, 5:47pm UTC](https://discuss.elastic.co/t/set-different-src-folder/26745/4 "2015-08-05T17:47:38Z")

</div>

[quote="spalger, post:3, topic:26745"]  
likely only work with a specific version of Kibana and will need to be updated or rewritten to support new versions  
[/quote] We have the same concern of rework for every version.  
But we need some modifications to be done.

[quote="spalger, post:3, topic:26745"]  
which will be the start stript for 4.2  
[/quote] Are you planning to have the script to look for other optional locations of src in the future?

---

<div class="post-metadata">

**Author:** ![tinle](https://avatars.discourse-cdn.com/v4/letter/t/c77e96/32.png) [@tinle](https://discuss.elastic.co/u/tinle)\
**Post date:** [August 5, 2015, 6:12pm UTC](https://discuss.elastic.co/t/set-different-src-folder/26745/5 "2015-08-05T18:12:30Z")

</div>

It would be nice to have a plugin capability for Kibana4. This allow users to add additional functions/features and maintain it easily.

Is this something that Elastic would consider adding?

---

<div class="post-metadata">

**Author:** ![spalger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spalger/32/14092_2.png) [@spalger](https://discuss.elastic.co/u/spalger)\
**Post date:** [August 5, 2015, 8:16pm UTC](https://discuss.elastic.co/t/set-different-src-folder/26745/6 "2015-08-05T20:16:53Z")

</div>

@tinle we are actively working towards that goal 😄

---

<div class="post-metadata">

**Author:** ![spalger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spalger/32/14092_2.png) [@spalger](https://discuss.elastic.co/u/spalger)\
**Post date:** [August 5, 2015, 8:17pm UTC](https://discuss.elastic.co/t/set-different-src-folder/26745/7 "2015-08-05T20:17:55Z")

</div>

> [@vilas](#):
>
> Are you planning to have the script to look for other optional locations of src in the future?

No plans yet, but we are not committing to never change it.

---

<div class="post-metadata">

**Author:** ![tinle](https://avatars.discourse-cdn.com/v4/letter/t/c77e96/32.png) [@tinle](https://discuss.elastic.co/u/tinle)\
**Post date:** [August 5, 2015, 8:58pm UTC](https://discuss.elastic.co/t/set-different-src-folder/26745/8 "2015-08-05T20:58:35Z")

</div>

Nice. I am looking forward to it.

---

<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/set-different-src-folder/26745/9 "2017-07-06T14:15:11Z")

</div>

Closed on July 6, 2017, 2:15pm UTC


