Unverified Commit c4ac3713 authored by Keshav Prasad's avatar Keshav Prasad
Browse files

fix: adding additional set of vars for sessions and graylog


Signed-off-by: default avatarKeshav Prasad <keshavprasadms@gmail.com>
Showing with 21 additions and 4 deletions
+21 -4
......@@ -428,7 +428,7 @@ report_cassandra_server_count: "{{ groups['report-cassandra'] | length }}"
# graylog variables
graylog_open_to_public: true # allows you to access via domain/graylog
send_logs_to_graylog: true # agents starts sending logs to graylog instead of ES
send_logs_to_graylog: true # filebeat agents will send logs to graylog instead of ES
graylog_root_timezone: "Asia/Kolkata" # timezone
graylog_elasticsearch_discovery_enabled: "true" # auto discover ES nodes and version
graylog_allow_leading_wildcard_searches: "true" # allows wild card searching
......
......@@ -117,7 +117,7 @@ mongodb_keyfile_content: |
# 4. Again vist Admin Panel post restart -> Click on Plugins => Write API
# 5. Under MASTER TOKENS section, click on create token button, It will generate a token.
discussionsmw_nodebb_authorization_token: # Read the comment above to generate this key
core_vault_mail_server_password: "" # Email server password
core_vault_mail_server_password: "" # Email server password / api token
# Oauth keys
core_vault_sunbird_google_oauth_clientId_portal: # Google oauth client id
......@@ -126,6 +126,17 @@ core_vault_sunbird_google_captcha_site_key_portal: # Google recaptch site
google_captcha_private_key: # Google recaptch private key
learning_content_drive_apiKey: # Google drive api key
### Graylog ###
graylog_password_secret: "" # Random secret. Generate using the command: pwgen -s 96 1
graylog_root_password_sha2: "" # Random secret. Generate using the command: echo -n "Enter Password: " && head -1 </dev/stdin | tr -d '\n' | sha256sum | cut -d" " -f1
## Portal anonymous, loggedin sessions default tokens and register token ##
# Get the below tokens after running the OnboardConsumers job
sunbird_anonymous_register_token: # Use the portal_anonymous_register consumer token
sunbird_loggedin_register_token: # Use portal_loggedin_register consumer token
sunbird_anonymous_default_token: # Use portal_anonymous_fallback_token consumer token
sunbird_logged_default_token: # Use portal_loggedin_fallback_token consumer token
# ------------------------------------------------------------------------------------------------------------ #
# Optional variables - Can be left blank if you dont plan to use the intended features
core_vault_monitor_alerts_slack_url: "" # Slack webhook for alerts from alertmanager
......@@ -183,4 +194,7 @@ ml_analytics_api_authorization_key: ApiAuthorizationKey
# update if seperate object storage is used
cloud_private_storage_secret: "{{ cloud_public_storage_secret }}"
cloud_artifact_storage_secret: "{{ cloud_public_storage_secret }}"
\ No newline at end of file
cloud_artifact_storage_secret: "{{ cloud_public_storage_secret }}"
# Graylog
graylog_transport_email_auth_password: "{{ core_vault_mail_server_password }}" # email server password / api token
\ No newline at end of file
......@@ -288,3 +288,5 @@ processing_kafka_overriden_topics:
retention_time: 86400000
replication_factor: 1
# graylog
send_logs_to_graylog: true # filebeat agents will send logs to graylog instead of ES
\ No newline at end of file
......@@ -207,4 +207,5 @@ postgres:
db_admin_user: postgres
db_admin_password: "{{dp_vault_pgdb_admin_password}}"
### Lern BB
# graylog
send_logs_to_graylog: true # filebeat agents will send logs to graylog instead of ES
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment