Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam SPLK-1002 All Questions

View all questions & answers for the SPLK-1002 exam

Exam SPLK-1002 topic 1 question 132 discussion

Actual exam question from Splunk's SPLK-1002
Question #: 132
Topic #: 1
[All SPLK-1002 Questions]

Which method in the Field Extractor would extract the port number from the following event?

10/20/2022 - 125.24.20.1 ++++ port 54 - user: admin

  • A. Delimiter
  • B. The Field Extractor tool cannot extract regular expressions.
  • C. Regular expression
  • D. rex command
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
dopaminendk
22 hours, 19 minutes ago
Selected Answer: C
C is answer
upvoted 1 times
...
GeneralKnas
1 month, 1 week ago
Selected Answer: D
The rex command allows you to extract fields from events using regular expressions. You can use the rex command to specify a named group that matches the port number in the event. For example: rex '\+\+\+\+port (?\d+)' This will create a field called port with the value 54 for the event
upvoted 1 times
dopaminendk
22 hours, 16 minutes ago
rex command search string attribute not belong to Field Extractor tool, D wrong
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...