Skip to content

Commit

Permalink
Extended Splunk module to includ HEC (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
merbla authored and antonbabenko committed Oct 11, 2018
1 parent 3ce6160 commit 19ca5de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/splunk/auto_values.tf
Expand Up @@ -6,7 +6,7 @@
variable "auto_ingress_rules" {
description = "List of ingress rules to add automatically"
type = "list"
default = ["splunk-indexer-tcp", "splunk-clients-tcp", "splunk-splunkd-tcp"]
default = ["splunk-indexer-tcp", "splunk-clients-tcp", "splunk-splunkd-tcp", "splunk-hec-tcp"]
}

variable "auto_ingress_with_self" {
Expand Down
3 changes: 2 additions & 1 deletion rules.tf
Expand Up @@ -108,6 +108,7 @@ variable "rules" {
splunk-indexer-tcp = [9997, 9997, "tcp", "Splunk indexer"]
splunk-clients-tcp = [8080, 8080, "tcp", "Splunk clients"]
splunk-splunkd-tcp = [8089, 8089, "tcp", "Splunkd"]
splunk-hec-tcp = [8088, 8088, "tcp", "Splunk HEC"]

# Squid
squid-proxy-tcp = [3128, 3128, "tcp", "Squid default proxy"]
Expand Down Expand Up @@ -291,7 +292,7 @@ variable "auto_groups" {
}

splunk = {
ingress_rules = ["splunk-indexer-tcp", "splunk-clients-tcp", "splunk-splunkd-tcp"]
ingress_rules = ["splunk-indexer-tcp", "splunk-clients-tcp", "splunk-splunkd-tcp", "splunk-hec-tcp"]
ingress_with_self = ["all-all"]
egress_rules = ["all-all"]
}
Expand Down

0 comments on commit 19ca5de

Please sign in to comment.