Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 1.49 KB

File metadata and controls

29 lines (25 loc) · 1.49 KB

adding proxy

HEC

curl http://localhost:8088/services/collector/event -H "Authorization: Splunk 123-123-123" -d '{"event": "hello paco"}'

| rest splunk_server=<indexer> /servicesNS/-/-/configs/conf-indexes
| search disabled=0 
| fields eai:acl.app eai:appName title path maxDataSize maxTotalDataSizeMB  maxHotBuckets frozenTimePeriodInSecs 
| rest splunk_server=<indexer> /servicesNS/-/-/configs/conf-indexes
| search disabled=0
| fields eai:acl.app eai:appName title path maxDataSize maxTotalDataSizeMB  maxHotBuckets  frozenTimePeriodInSecs
| eval cm = "cm7"
| fields cm eai:acl.app eai:appName title path maxDataSize maxTotalDataSizeMB  maxHotBuckets  frozenTimePeriodInSecs
| collect index=<index_summary> source=discovery:indexes testmode=true
|rest splunk_server=<<SH>> serviceNS/-/-/configs/conf-server

update conf file property