Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
769a516c
Commit
769a516c
authored
Oct 04, 2013
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to add splunk to all machines.
parent
0aa87bc0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
8 deletions
+25
-8
playbooks/edx-east/edx_feanilsandbox.yml
+7
-4
playbooks/group_vars/all
+3
-0
playbooks/roles/splunkforwarder/defaults/main.yml
+15
-4
No files found.
playbooks/edx-east/edx_feanilsandbox.yml
View file @
769a516c
...
...
@@ -10,10 +10,9 @@
-
datadog
-
nginx
-
role
:
'
edxapp'
EDXAPP_LMS_NGINX_PORT
:
80
EDXAPP_CMS_NGINX_PORT
:
80
edxapp_lms_env
:
'
lms.envs.load_test'
edx_platform_commit
:
'
master'
edx_platform_commit
:
'
release'
-
splunkforwarder
-
hosts
:
tag_aws_cloudformation_stack-name_feanilsandbox:&tag_group_worker
sudo
:
True
vars_files
:
...
...
@@ -27,7 +26,8 @@
-
role
:
'
edxapp'
edxapp_lms_env
:
'
lms.envs.load_test'
celery_worker
:
True
edx_platform_commit
:
'
master'
edx_platform_commit
:
'
release'
-
splunkforwarder
-
hosts
:
tag_aws_cloudformation_stack-name_feanilsandbox:&tag_group_xserver
sudo
:
True
vars_files
:
...
...
@@ -37,6 +37,7 @@
-
common
-
nginx
-
xserver
-
splunkforwarder
-
hosts
:
tag_aws_cloudformation_stack-name_feanilsandbox:&tag_group_rabbitmq
serial
:
1
sudo
:
True
...
...
@@ -46,6 +47,7 @@
roles
:
-
common
-
rabbitmq
-
splunkforwarder
-
hosts
:
tag_aws_cloudformation_stack-name_feanilsandbox:&tag_group_xqueue
sudo
:
True
vars_files
:
...
...
@@ -55,3 +57,4 @@
-
common
-
nginx
-
xqueue
-
splunkforwarder
playbooks/group_vars/all
View file @
769a516c
...
...
@@ -7,6 +7,9 @@ log_base_dir: /mnt/logs
venv_dir: /opt/edx
os_name: ubuntu
ENV_NAME: 'default_env'
ENV_TYPE: 'default_type'
# these pathes are relative to the playbook dir
# directory for secret settings (keys, etc)
secure_dir: 'secure_example'
...
...
playbooks/roles/splunkforwarder/defaults/main.yml
View file @
769a516c
...
...
@@ -25,13 +25,24 @@ splunk_debian_pkgs:
splunk_redhat_pkgs
:
[]
SPLUNKFORWARDER_LOG_ITEMS
:
-
directory
:
'
/mnt/logs/lms/edx.log'
index
:
'
feanilsandbox-lms'
SPLUNKFORWARDER_SERVER
:
'
localhost:9997'
SPLUNKFORWARDER_PACKAGE_LOCATION
:
!!null
SPLUNKFORWARDER_DEB
:
!!null
SPLUNKFORWARDER_PASSWORD
:
!!null
splunkforwarder_output_dir
:
'
/opt/splunkforwarder/'
SPLUNKFORWARDER_LOG_ITEMS
:
-
directory
:
'
{{log_base_dir}}'
recursive
:
true
index
:
'
{{ENV_TYPE}}-{{ENV_NAME}}'
sourcetype
:
'
edx'
-
directory
:
'
/var/log'
recursive
:
true
index
:
'
{{ENV_TYPE}}-{{ENV_NAME}}'
sourcetype
:
'
syslog'
-
directory
:
'
{{log_base_dir}}/nginx'
recursive
:
true
index
:
'
{{ENV_TYPE}}-{{ENV_NAME}}'
sourcetype
:
'
nginx'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment