Resource: splunk_inputs_http_event_collector

Create or update HTTP Event Collector input configuration tokens.

Example Usage

resource "splunk_inputs_http_event_collector" "hec-token-01" {
  name       = "hec-token-01"
  index      = "main"
  indexes    = ["main", "history", "summary"]
  source     = "new:source"
  sourcetype = "new:sourcetype"
  disabled   = false
  use_ack    = 0
  acl {
    owner   = "user01"
    sharing = "global"
    read    = ["admin"]
    write   = ["admin"]
  }
}
terraform import splunk_inputs_http_event_collector.token01 <hec-token-name>

Argument Reference

For latest resource argument reference: https://docs.splunk.com/Documentation/Splunk/latest/RESTREF/RESTinput#data.2Finputs.2Fhttp

This resource block supports the following arguments:

Attribute Reference

In addition to all arguments above, This resource block exports the following arguments: