[graylog2] graylog2 server's elasticsearch settings

2014-02-22 Thread Romeo Theriault
I'm planning to setup a 3-node elasticsearch cluster for our graylog2
logging environment, but am a bit confused by the elasticsearch_*
settings in the graylog2 server.conf file:

eg.

# Embedded elasticsearch configuration file
#elasticsearch_config_file = /etc/graylog2-elasticsearch.yml
elasticsearch_max_docs_per_index = 2000
# elasticsearch_max_number_of_indices*elasticsearch_max_docs_per_index=total
number of messages in your setup
elasticsearch_max_number_of_indices = 5
elasticsearch_shards = 4
elasticsearch_replicas = 0
elasticsearch_index_prefix = graylog2


etc...

Do these settings (e.g. shards, replicas, indices) over-ride the
elasticsearch settings that I configure in elasticsearch's config
file?

>From the graylog2 server's server.conf file I'm guessing that
graylog2_server has an embedded version of elasticsearch. Is this
correct?

Thank you,

-- 
You received this message because you are subscribed to the Google Groups 
"graylog2" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to graylog2+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [graylog2] graylog2 server's elasticsearch settings

2014-02-22 Thread Lennart Koopmann
On Fri, Feb 21, 2014 at 11:27 PM, Romeo Theriault
 wrote:
> Do these settings (e.g. shards, replicas, indices) over-ride the
> elasticsearch settings that I configure in elasticsearch's config
> file?

Yes! You do not need to use the ElasticSearch YML file at all if the
config available in graylog2.conf is enough. Usually that is the case
and we recommend using the ElasticSearch config only for experienced
users.

> From the graylog2 server's server.conf file I'm guessing that
> graylog2_server has an embedded version of elasticsearch. Is this
> correct?

Correct.

Thanks,
Lennart

-- 
You received this message because you are subscribed to the Google Groups 
"graylog2" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to graylog2+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [graylog2] graylog2 server's elasticsearch settings

2014-02-24 Thread Romeo Theriault


On Saturday, February 22, 2014 10:37:10 AM UTC-10, lennart wrote:
>
> On Fri, Feb 21, 2014 at 11:27 PM, Romeo Theriault 
> > wrote: 
> > Do these settings (e.g. shards, replicas, indices) over-ride the 
> > elasticsearch settings that I configure in elasticsearch's config 
> > file? 
>
> Yes! You do not need to use the ElasticSearch YML file at all if the 
> config available in graylog2.conf is enough. Usually that is the case 
> and we recommend using the ElasticSearch config only for experienced 
> users. 
>
> > From the graylog2 server's server.conf file I'm guessing that 
> > graylog2_server has an embedded version of elasticsearch. Is this 
> > correct? 
>
> Correct. 
>
> Thanks, 
> Lennart
>


Thank you for the clarification. 

-- 
You received this message because you are subscribed to the Google Groups 
"graylog2" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to graylog2+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.