exam questions

Exam 701-100 All Questions

View all questions & answers for the 701-100 exam

Exam 701-100 topic 1 question 39 discussion

Actual exam question from LPI's 701-100
Question #: 39
Topic #: 1
[All 701-100 Questions]

Which of the log messages below matches the following Logstash grok filter? grok { match => ["message", "%{SYSLOGBASE} new node %{IPORHOST:node}" ]
}

  • A. Jun 30 00:36:49 headnode: new node 198.51.100.103 at clustermanager:12353
  • B. Jun 30 00:36:49 headnode clustermanager[12353]: new node 198.51.100.103
  • C. Jun 30 00:36:49 headnode clustermanager[198.51.100.103]: new node
  • D. %{SYSLOG-FROM:headnode clustermanager[12353]} new node 198.51.100.103
  • E. clustermanager[12353]: Jun 30 00:36:49 headnode new node 198.51.100.103
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
hmagroun
Highly Voted 2 years, 3 months ago
The correct answer is B the filter: %{SYSLOGBASE} new node %{IPORHOST:node} will match B: Jun 30 00:36:49 headnode clustermanager[12353]: new node 198.51.100.103 and result in the following fields: SYSLOGBASE: Jun 30 00:36:49 headnode clustermanager[12353]: node: 198.51.100.103
upvoted 10 times
...
[Removed]
Most Recent 4 months, 2 weeks ago
Selected Answer: B
Correct is B
upvoted 1 times
...
Blob21
1 year ago
https://discuss.elastic.co/t/what-does-the-field-in-grok-message-do/2253/2
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago