Skip to content

Commit c94b1ea

Browse files
Oudmaijer, S - SPLXLOudmaijer, S - SPLXL
authored andcommitted
update docs
1 parent a738a36 commit c94b1ea

2 files changed

Lines changed: 36 additions & 12 deletions

File tree

README.md

Lines changed: 35 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,42 +12,66 @@ Run default recipe to install server with web interface.
1212

1313
# Attributes
1414

15+
Graylog2 server
16+
17+
* default[:graylog2][:server_version] = '0.20.0-rc.2'
1518
* default[:graylog2][:server_home] = '/opt/graylog2-server'
1619
* default[:graylog2][:server_user] = 'graylog2'
1720
* default[:graylog2][:server_group] = 'graylog2'
18-
* default[:graylog2][:server_package] = 'https://github.com/Graylog2/graylog2-server/releases/download/0.20.0-rc.1-1/graylog2-server-0.20.0-rc.1-1.tgz'
21+
* default[:graylog2][:server_package] = "https://github.com/Graylog2/graylog2-server/releases/download/#{node[:graylog2][:server_version]}/graylog2-server-#{node[:graylog2][:server_version]}.tgz"
1922
* default[:graylog2][:server_password_secret] = "eepahkohd9ieliecaejienahkamohpucaengoisaipeileeghohquohsaijoorohpagheiboodahkeelahraxahmaejoujahifeb7imeyoingaeyiequucuugholaayaicheedaemunguvahgieghihahnailakahmeebeighahtieshahquiegoogaecailgah0aijahvaivaefeekopheilaeyothixepoxaiwieyohyeghiefiungomiesookahtaitootaitaipielahaighoomereehahl9upiixohxoorusiengoquooviuthekephidalaesoopeephiuquahhaingooroofenaediexoakohtheiceiseecahvaeeshob7poonooquohmaileniejateivaipahsaijahveleingooquushooxiiphoohufi" # You MUST set a secret to secure/pepper the stored user passwords here. Use at least 64 characters. Generate one by using for example: pwgen -s 96
2023
* default[:graylog2][:server_root_password_sha2] = "8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918" # admin Create one by using for example: echo -n admin | shasum -a 256
2124
* default[:graylog2][:server_rest_listen_uri] = "http://127.0.0.1:12900/"
2225
* default[:graylog2][:server_shards] = 1
2326
* default[:graylog2][:server_replicas] = 0
2427
* default[:graylog2][:server_max_indexes] = 10
2528
* default[:graylog2][:server_max_docs_per_index] = 20000000
29+
* default[:graylog2][:server_mongodb_auth] = false
30+
* default[:graylog2][:server_mongodb_username] = "graylog2"
31+
* default[:graylog2][:server_mongodb_password] = "graylog2"
2632

27-
* default[:graylog2][:web_home] = '/opt/graylog2-web-interface'
28-
* default[:graylog2][:web_user] = 'graylog2-web'
29-
* default[:graylog2][:web_group] = 'graylog2'
30-
* default[:graylog2][:web_url] = 'http://localhost:9000'
31-
* default[:graylog2][:web_mem] = 256
32-
* default[:graylog2][:web_tz] = 'Europe/Amsterdam'
33-
* default[:graylog2][:web_package] = 'https://github.com/Graylog2/graylog2-web-interface/releases/download/0.20.0-rc.1-1/graylog2-web-interface-0.20.0-rc.1-1.tgz'
33+
Graylog2 web interface
34+
35+
* default[:graylog2][:server_version] = '0.20.0-rc.2'
36+
* default[:graylog2][:server_home] = '/opt/graylog2-server'
37+
* default[:graylog2][:server_user] = 'graylog2'
38+
* default[:graylog2][:server_group] = 'graylog2'
39+
* default[:graylog2][:server_package] = "https://github.com/Graylog2/graylog2-server/releases/download/#{node[:graylog2][:server_version]}/graylog2-server-#{node[:graylog2][:server_version]}.tgz"
40+
* default[:graylog2][:server_password_secret] = "eepahkohd9ieliecaejienahkamohpucaengoisaipeileeghohquohsaijoorohpagheiboodahkeelahraxahmaejoujahifeb7imeyoingaeyiequucuugholaayaicheedaemunguvahgieghihahnailakahmeebeighahtieshahquiegoogaecailgah0aijahvaivaefeekopheilaeyothixepoxaiwieyohyeghiefiungomiesookahtaitootaitaipielahaighoomereehahl9upiixohxoorusiengoquooviuthekephidalaesoopeephiuquahhaingooroofenaediexoakohtheiceiseecahvaeeshob7poonooquohmaileniejateivaipahsaijahveleingooquushooxiiphoohufi" # You MUST set a secret to secure/pepper the stored user passwords here. Use at least 64 characters. Generate one by using for example: pwgen -s 96
41+
* default[:graylog2][:server_root_password_sha2] = "8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918" # admin Create one by using for example: echo -n admin | shasum -a 256
42+
* default[:graylog2][:server_rest_listen_uri] = "http://127.0.0.1:12900/"
43+
* default[:graylog2][:server_shards] = 1
44+
* default[:graylog2][:server_replicas] = 0
45+
* default[:graylog2][:server_max_indexes] = 10
46+
* default[:graylog2][:server_max_docs_per_index] = 20000000
47+
* default[:graylog2][:server_mongodb_auth] = false
48+
* default[:graylog2][:server_mongodb_username] = "graylog2"
49+
* default[:graylog2][:server_mongodb_password] = "graylog2"
50+
51+
Graylog2 nginx
52+
53+
* default[:graylog2][:nginx_port] = 80
54+
* default[:graylog2][:nginx_location] = "/"
55+
* override[:nginx][:default_site_enabled] = false
56+
57+
JDK override
3458

3559
* override[:java][:install_flavor] = "openjdk"
3660
* override[:java][:jdk_version] = "7"
3761
* override[:java][:openjdk_packages] = ["openjdk-7-jdk", "openjdk-7-jre-headless"]
3862

63+
ElasticSearch override
64+
3965
* override[:elasticsearch][:cluster][:name] = "graylog2"
4066
* override[:elasticsearch][:bootstrap][:mlockall] = "graylog2"
4167
* override[:elasticsearch][:allocated_memory] = "512m"
4268
* override[:elasticsearch][:plugins] = {"mobz/elasticsearch-head" => ""}
4369

44-
* override[:nginx][:default_site_enabled] = false
45-
4670
# Recipes
4771

4872
* recipe "graylog2::default", "Installs and configures a graylog2 server"
4973
* recipe "graylog2::server", "Installs and configures a graylog2 server"
50-
* recipe "graylog2::web-interace", "Installs and configures a graylog2 web interface"
74+
* recipe "graylog2::web-interface", "Installs and configures a graylog2 web interface"
5175
* recipe "graylog2::nginx", "Installs and configures a nginx as reverse proxy for the graylog2 web interface"
5276

5377
# Author

metadata.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
recipe "graylog2::default", "Installs and configures a graylog2 server"
1010
recipe "graylog2::server", "Installs and configures a graylog2 server"
11-
recipe "graylog2::web-interace", "Installs and configures a graylog2 web interface"
11+
recipe "graylog2::web-interface", "Installs and configures a graylog2 web interface"
1212
recipe "graylog2::nginx", "Installs and configures nginx as reverse proxy for the web interface"
1313

1414
%w{ ubuntu debian redhat centos }.each do |os|

0 commit comments

Comments
 (0)