-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/splunk configuration #292
Conversation
templates/apiary-hms-readwrite.json
Outdated
jsonencode({ | ||
"splunk-token": "${splunk_hec_token}", | ||
"splunk-url": "${splunk_hec_host}", | ||
"splunk-source": "apiary-hms-readonly-logs", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
readwrite
"logDriver": "awslogs", | ||
"options": { | ||
"logConfiguration": { | ||
"logDriver": "${enable_splunk_logging ? "splunk" : "awslogs"}", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not a blocker but for future consider setting:
"logDriver" : "${hmsReadOnlyLogDriver}"
"option" : "${hmsReadOnlyLogOptions}" --> This needs to be jsonencoded somehow but I think that's possible.
Then we avoid the ifs and we can also introduce additional logging solutions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you need to rename the splunk-source for hms-readwrite.
Enabled Splunk for log forwarding and implemented health checks for ECS HMS.