SPLK-1003 · Question #156
A Universal Forwarder is collecting two separate sources of data (A,B). Source A is being routed through a Heavy Forwarder and then to an indexer. Source B is being routed directly to the indexer. Bot
The correct answer is D. Place both props . conf and transforms . conf on the Heavy Forwarder for source A, and place. Data masking in Splunk must be configured at the component where parsing occurs. For Source A, parsing happens at the Heavy Forwarder, so masking configs go there; for Source B, parsing happens at the indexer, so masking configs go on the indexer.
Question
A Universal Forwarder is collecting two separate sources of data (A,B). Source A is being routed through a Heavy Forwarder and then to an indexer. Source B is being routed directly to the indexer. Both sets of data require the masking of raw text strings before being written to disk. What does the administrator need to do to ensure that the masking takes place successfully?
Options
- AMake sure that props . conf and transforms . conf are both present on the in-dexer and the search
- BFor source A, make sure that props . conf is in place on the indexer; and for source B, make sure
- CMake sure that props . conf and transforms . conf are both present on the Universal Forwarder.
- DPlace both props . conf and transforms . conf on the Heavy Forwarder for source A, and place
How the community answered
(15 responses)- A7% (1)
- B13% (2)
- C7% (1)
- D73% (11)
Why each option
Data masking in Splunk must be configured at the component where parsing occurs. For Source A, parsing happens at the Heavy Forwarder, so masking configs go there; for Source B, parsing happens at the indexer, so masking configs go on the indexer.
Placing masking configs on the indexer and search head is wrong because Source A is already parsed at the Heavy Forwarder before reaching the indexer, meaning indexer-side masking is applied too late to affect Source A's data.
Placing props.conf only on the indexer for Source A is insufficient because the Heavy Forwarder performs parsing for that data path, and both props.conf and transforms.conf are required together for masking to function.
Universal Forwarders do not execute the parsing pipeline and therefore cannot apply props.conf or transforms.conf masking transforms - they only forward raw, unprocessed data to the next tier.
Splunk's SEDCMD and TRANSFORMS-based masking is applied during the parsing pipeline, which runs on the first full parsing component a data stream passes through. Source A is parsed at the Heavy Forwarder, so props.conf and transforms.conf must reside on the Heavy Forwarder to mask that data before it reaches the indexer; Source B is parsed at the indexer directly, so those same files must also be placed on the indexer for Source B.
Concept tested: Data masking configuration placement across Splunk forwarding tiers
Source: https://docs.splunk.com/Documentation/Splunk/latest/Data/Anonymizedata
Topics
Community Discussion
No community discussion yet for this question.