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
OpenEdx
configuration
Commits
1be7dc52
Commit
1be7dc52
authored
Jun 16, 2017
by
Adam Palay
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add splunk forwarding to neo4j
parent
f97e4b7d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
2 deletions
+29
-2
playbooks/edx-east/neo4j.yml
+2
-0
playbooks/roles/neo4j/defaults/main.yml
+1
-0
playbooks/roles/neo4j/tasks/main.yml
+22
-2
playbooks/roles/splunkforwarder/defaults/main.yml
+4
-0
No files found.
playbooks/edx-east/neo4j.yml
View file @
1be7dc52
...
...
@@ -13,3 +13,5 @@
-
coursegraph
# - aws
-
neo4j
-
role
:
splunkforwarder
when
:
COMMON_ENABLE_SPLUNKFORWARDER
playbooks/roles/neo4j/defaults/main.yml
View file @
1be7dc52
...
...
@@ -27,6 +27,7 @@ neo4j_https_port: 7473 # default in package is 7473
neo4j_http_port
:
7474
# default in package is 7474
neo4j_listen_address
:
"
0.0.0.0"
neo4j_heap_max_size
:
"
3000"
neo4j_log_dir
:
"
/var/log/neo4j"
# Properties file settings
neo4j_https_settings_key
:
"
dbms.connector.https.address"
...
...
playbooks/roles/neo4j/tasks/main.yml
View file @
1be7dc52
...
...
@@ -72,9 +72,29 @@
-
install
-
install:configuration
-
name
:
set log dir for neo4j
lineinfile
:
create
:
yes
dest
:
"
{{
neo4j_server_config_file
}}"
regexp
:
"
dbms.directories.logs="
line
:
"
dbms.directories.logs={{
neo4j_log_dir
}}"
tags
:
-
install
-
install:configuration
-
name
:
Create neo4j logging dir
file
:
path
:
"
{{
neo4j_log_dir
}}"
state
:
directory
owner
:
neo4j
mode
:
"
0755"
tags
:
-
install
-
install:base
-
name
:
restart neo4j
service
:
name
:
neo4j
service
:
name
:
neo4j
state
:
restarted
tags
:
-
manage
...
...
playbooks/roles/splunkforwarder/defaults/main.yml
View file @
1be7dc52
...
...
@@ -76,6 +76,10 @@ SPLUNKFORWARDER_LOG_ITEMS:
recursive
:
true
index
:
'
{{
COMMON_ENVIRONMENT
}}-{{
COMMON_DEPLOYMENT
}}'
sourcetype
:
'
rabbitmq'
-
source
:
'
/var/log/neo4j'
recursive
:
true
index
:
'
{{
COMMON_ENVIRONMENT
}}-{{
COMMON_DEPLOYMENT
}}'
sourcetype
:
'
neo4j'
#
# OS packages
...
...
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