Which syntax will find events where the values for the 1 field match the values for the Renewal-MonthYear field?
| where 10yearAnnerversary=Renewal-MonthYear
| where '10yearAnnerversary=Renewal-MonthYear
| where 10yearAnnerversary='Renewal-MonthYear'
| where '10yearAnnerversary'='Renewal-MonthYear'
Suggested Answer: A
Get Premium SPLK-1002 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
23 comments · newest first
CH
Chauncey
10 months ago
Yup, no quotes for field names! That's how it works.
TW
Twanna
10 months ago
Wait, are you sure? I thought quotes were sometimes needed.
AS
Ashlee
10 months ago
The correct syntax is | where 10yearAnnerversary=Renewal-MonthYear.
CO
Corazon
10 months ago
Totally agree, the quotes mess it up!
AM
Amos
10 months ago
Good to know! I always get confused with the syntax rules.
CH
Chantell
11 months ago
I’m a bit confused. I thought using quotes was okay sometimes, but now I’m not so sure. I’ll go with option A, but I hope I’m right!
MA
Margart
11 months ago
I feel like I've seen a similar question before, and it was definitely about not using quotes for field names. So, I think it's option A.
LO
Loreta
11 months ago
I'm not entirely sure, but I remember something about quotes making it a string value. So, I guess the first option is right?
JA
Jaime
11 months ago
I think the correct syntax is the first one, where you don't use quotes around the field names. That seems to be what we practiced in class.
SH
Sharita
12 months ago
The first option makes the most sense to me - comparing the two field names directly without quotes. That should give me the events I need.
FA
Fatima
12 months ago
I'm not sure about this one, the different syntax options are throwing me off a bit. I'll have to think it through carefully.
BE
Benedict
12 months ago
The key is to use the field names directly without any quotes. The first option looks like the right approach to me.
LA
Lavera
1 year ago
Hmm, I'm a bit confused about the use of quotation marks here. Do I need to wrap the field names in quotes or not?
SA
Samira
1 year ago
This looks straightforward, I think the first option is the correct syntax to compare the two fields.
AN
Anna
1 year ago
I agree with Norah. The where command compares two fields without quotation marks.
OR
Oretha
1 year ago
Hmm, I was thinking the third option would work, but you're right, the quotes around the field names don't make sense here. Good catch!
LA
Laine
9 months ago
Agreed! No quotes for field names!
OZ
Ozell
9 months ago
The first option is definitely the way to go.
RE
Renea
9 months ago
Yeah, they really confuse the command.
NA
Nana
9 months ago
I thought the quotes were necessary too!
LA
Laurena
1 year ago
I agree, the first option is the way to go. Keeping it simple and straightforward is usually the best approach.
NO
Norah
1 year ago
I think the correct syntax is | where 10yearAnnerversary=Renewal-MonthYear.
AR
Arlyne
1 year ago
The first option is the correct syntax. You don't need quotes around the field names when comparing them in the where command.