Splunk Cloud admins frequently need to mask sensitive PII/PCI fields or drop noisy debug events before data consumes indexing capacity or lands in SmartStore buckets.
Inline masking uses SEDCMD in props.conf (e.g., SEDCMD-mask_ssn = s/\b\d{3}-\d{2}-\d{4}\b/XXX-XX-XXXX/g) to rewrite _raw at parse time. Selective routing or dropping uses a TRANSFORMS-<name> reference in props.conf paired with a transforms.conf stanza setting REGEX, DEST_KEY = queue, and FORMAT = nullQueue.
In Splunk Cloud, you can build and preview these rules visually using Ingest Actions (rulesets that mask, filter to nullQueue, or route to S3/indexes) or deploy them inside an AppInspect-vetted private app (on Victoria) or on an on-premises Heavy Forwarder before events ever traverse the WAN.
# default/props.conf
[corp:app:log]
SEDCMD-redact_card = s/\b(\d{4})-\d{4}-\d{4}-(\d{4})\b/$1-XXXX-XXXX-$2/g
TRANSFORMS-drop_health = drop_healthchecks
# default/transforms.conf
[drop_healthchecks]
REGEX = GET /healthz HTTP/
DEST_KEY = queue
FORMAT = nullQueue