Set different src folder

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.

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

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 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.

[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?

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?

@tinle we are actively working towards that goal :smile:

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

Nice. I am looking forward to it.