Hi Jochen,
I appreciate your response,
I am modifying the file
:
/opt/graylog/embedded/cookbooks/graylog/templates/default/elasticsearch.yml.erb
node.name : nodename
It is working properly now, the problem was that I was using double quotes
"" and elastcisearch was giving a parsing error :
org.elasticsearch.common.settings.SettingsException: Failed to load
settings from [file:/opt/graylog/conf/elasticsearch.yml]
at
org.elasticsearch.common.settings.ImmutableSettings$Builder.loadFromStream(ImmutableSettings.java:985)
at
org.elasticsearch.common.settings.ImmutableSettings$Builder.loadFromUrl(ImmutableSettings.java:969)
at
org.elasticsearch.node.internal.InternalSettingsPreparer.prepareSettings(InternalSettingsPreparer.java:100)
at org.elasticsearch.bootstrap.Bootstrap.initialSettings(Bootstrap.java:144)
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:215)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)
Caused by: while parsing a block mapping
2015-12-01_10:58:34.03227 in 'reader', line 32, column 1:
cluster.name: graylog2
expected <block end>, but found BlockMappingStart
in 'reader', line 40, column 2:
node.name: "nodename"
*Maybe need to remove the quotes from the template file, because they can
be misleading.
Thank you very much for your help, and explanation!! I managed to configure
graylog as I want.
Lefteris
>
>>
--
You received this message because you are subscribed to the Google Groups
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/graylog2/096a5e91-25ca-493b-ba07-19b3b21cb106%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.