Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Enhancement - Add ability to change default route in config.js #6

Open
pythianali opened this issue Jun 4, 2014 · 4 comments
Open

Comments

@pythianali
Copy link

I ran into an issue elastic/kibana#834 and the workaround is to use the logstash.json dashboard as the default one.

Requesting that the ability to configure the default_route parameter in the config.js be made available in the class configuration.

@pythianali
Copy link
Author

I did a workaround in my node declaration:

file_line { 'logstash dashboard':
path => '/opt/kibana-latest/config.js',
line => " default_route : '/dashboard/file/logstash.json',",
match => ' default_route',
}

This works well.

@alvagante
Copy link
Member

+1.
I'd prepare a config.js template correctly configured, which users might enable with something like:

class { 'kibana':
  file_template => 'kibana/config.js',
} 

and leave two notes in the README.
PR welcomed

@paschdan
Copy link

in #8 a basic config.js template was introduced, maybe we can enhance this one after it is merged :)

@alvagante
Copy link
Member

merged #8 this might help to manage these cases...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants