ExamGecko
Question list
Search
Search

List of questions

Search

Question 28 - SPLK-1005 discussion

Report
Export

Which of the following statements is true about data transformations using SEDCMD?

A.

Can only be used to mask or truncate raw data.

Answers
A.

Can only be used to mask or truncate raw data.

B.

Configured in props.conf and transform.conf.

Answers
B.

Configured in props.conf and transform.conf.

C.

Can be used to manipulate the sourcetype per event.

Answers
C.

Can be used to manipulate the sourcetype per event.

D.

Operates on a REGEX pattern match of the source, sourcetype, or host of an event.

Answers
D.

Operates on a REGEX pattern match of the source, sourcetype, or host of an event.

Suggested answer: A

Explanation:

SEDCMD is a directive used within the props.conf file in Splunk to perform inline data transformations. Specifically, it uses sed-like syntax to modify data as it is being processed.

A . Can only be used to mask or truncate raw data: This is the correct answer because SEDCMD is typically used to mask sensitive data, such as obscuring personally identifiable information (PII) or truncating parts of data to ensure privacy and compliance with security policies. It is not used for more complex transformations such as changing the sourcetype per event.

B . Configured in props.conf and transform.conf: Incorrect, SEDCMD is only configured in props.conf.

C . Can be used to manipulate the sourcetype per event: Incorrect, SEDCMD does not manipulate the sourcetype.

D . Operates on a REGEX pattern match of the source, sourcetype, or host of an event: Incorrect, while SEDCMD uses regex for matching patterns in the data, it does not operate on the source, sourcetype, or host specifically.

Splunk Documentation

Reference:

SEDCMD Usage

Mask Data with SEDCMD

asked 10/10/2024
cristian vargas
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first