Skip to content
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

Merged
merged 19 commits into from
Jan 10, 2025
Merged

Conversation

HamzaJugon
Copy link
Contributor

@HamzaJugon HamzaJugon commented Jan 9, 2025

Enabled Splunk for log forwarding and implemented health checks for ECS HMS.

@HamzaJugon HamzaJugon requested a review from a team as a code owner January 9, 2025 17:40
githubjianli
githubjianli previously approved these changes Jan 9, 2025
jsonencode({
"splunk-token": "${splunk_hec_token}",
"splunk-url": "${splunk_hec_host}",
"splunk-source": "apiary-hms-readonly-logs",
Copy link
Contributor

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"}",
Copy link
Contributor

@patduin patduin Jan 10, 2025

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.

Copy link
Contributor

@patduin patduin left a 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.

@HamzaJugon HamzaJugon merged commit ba72432 into master Jan 10, 2025
2 checks passed
@HamzaJugon HamzaJugon deleted the feature/splunk_configuration branch January 10, 2025 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants