rock icon indicating copy to clipboard operation
rock copied to clipboard

Kibana yaml is empty

Open spartan782 opened this issue 7 years ago • 6 comments

The /etc/kibana/kibana.yml file in 2.3 is deleted and replaced with only 3 options. We should just make the changes inline and leave the rest of the yaml documented incase someone wants to go poking around or make their own customizations.

spartan782 avatar Feb 20 '19 23:02 spartan782

We can probably make a jinja2 filter or ansible module that can round trip using https://pypi.org/project/ruamel.yaml/0.6/

dcode avatar Feb 20 '19 23:02 dcode

I've found that several projects have been using the yedit ansible module. I think we can adopt this to really simplify a lot of our app configurations.

yedit role repo

dcode avatar Mar 19 '19 03:03 dcode

Agreed If you would like some help making these changes let me know I would not mind helping out.

jonneyj avatar Aug 06 '19 19:08 jonneyj

can we add the reference fill separately? such as /etc/kibana/kibana.yml being the one with limited options then have /etc/kibana/kibana.reference.yml with everything

this is how the beats modules do it.

neu5ron avatar Aug 06 '19 21:08 neu5ron

A reference file is a good idea. From what I'm seeing by default all of the config settings in Kibana are commented out so all you would have to do is have a template file and then at a block of setting to the top of it when you toss it on during the install. If it's an Ansible related task or can be I would be happy to help if needed. I think the reference file idea is the easiest to implement while still meeting the intent of having a reference of other Kibana configuration options

jonneyj avatar Aug 06 '19 23:08 jonneyj

Reference files are what I had in mind when I made the change to only put the configured settings in the file. The reason we haven't completely moved in that direction is that it complicates the use of tools like @dcode was suggesting.

bndabbs avatar Aug 07 '19 13:08 bndabbs