Which search will return the 15 least common field values for the dest_ip field?
42 comments · newest first
BL
Blair
12 months ago
C sounds wrong too, it should be rare num=15!
AL
Alberto
1 year ago
B is not even close, lol.
RE
Reuben
1 year ago
Wait, are we sure about A? Seems off.
GL
Glory
1 year ago
I think D makes more sense for limiting results.
LO
Lorean
1 year ago
A is definitely the right choice!
EL
Eleni
1 year ago
I’m confused about the options. I thought "last" was used for something else, so I’m leaning towards D as well.
AR
Ardella
1 year ago
I practiced a question like this, and I feel like "count" isn't the right term here. I think it's between A and D.
RO
Roosevelt
1 year ago
I'm not entirely sure, but I remember something about "num" being used in similar questions. Could it be A?
PR
Precious
1 year ago
I think the command should use "limit" to specify how many values to return, so maybe it's option D?
GL
Glendora
1 year ago
I think option D is the right answer. "sourcetype=firewall | rare limit=15 dest_ip" will return the 15 least common dest_ip values, using the "limit" parameter to specify the number of results.
VI
Victor
1 year ago
Hmm, I'm not sure about this one. The options all look similar, but I'm not confident which one is correct. I'll have to review the Splunk documentation on the "rare" command to make sure I understand the different parameters.
AL
Alecia
1 year ago
I've got this! The answer is A. "sourcetype=firewall | rare num=15 dest_ip" will return the 15 least common dest_ip values. The "num" parameter specifies the number of results to return.
LA
Laticia
1 year ago
Okay, I'm a bit confused here. I know we need to use the "rare" command, but I'm not sure which parameter to use to get the 15 least common values. I'll have to think this through carefully.
SI
Simona
1 year ago
Hmm, this looks like a Splunk query question. I think the key is to use the "rare" command to get the least common field values. Let me think through the options...
TI
Timmy
2 years ago
Alright, let's not 'rare' the answer too much. Just give me the 15 most uncommon destinations, and I'll be on my way.
IN
Inocencia
1 year ago
D) sourcetype=firewall | rare limit=15 dest_ip
AH
Ahmed
1 year ago
C) sourcetype=firewall | rare count=15 dest_ip
WA
Walton
1 year ago
B) sourcetype=firewall | rare last=15 dest_ip
VA
Valentine
1 year ago
A) sourcetype=firewall | rare num=15 dest_ip
FR
Francoise
2 years ago
Hmm, option D seems a bit strange. 'rare limit=15 dest_ip' doesn't quite make sense to me. I'd go with option A or C.
BO
Bong
1 year ago
Yeah, I would go with either A or C as well.
RU
Ruby
1 year ago
I think option A or C would be the better choice here.
ST
Stevie
1 year ago
I agree, option D does seem a bit off.
LU
Luis
2 years ago
I'm going with option C. 'rare count=15 dest_ip' should give us the 15 least common values for the dest_ip field.
MO
Mozell
2 years ago
I agree with both of you, option C seems like the best option for finding the 15 least common dest_ip values.
AL
Alesia
2 years ago
I'm not sure, but I think option A might be the right choice.
MA
Man
2 years ago
I think option C is correct too. 'rare count=15 dest_ip' makes sense.
JA
Jacinta
2 years ago
Option B looks promising, but 'last=15' might not be what we want here. We need the least common values, not the last 15 values.
HY
Hyman
1 year ago
I agree, option C with 'count=15' seems like the right choice for finding the least common field values.
DO
Dorthy
1 year ago
C) sourcetype=firewall | rare count=15 dest_ip
SA
Sarah
1 year ago
I think option A is the correct one, using 'num=15' to get the 15 least common values.
RO
Rosina
1 year ago
A) sourcetype=firewall | rare num=15 dest_ip
SA
Santos
2 years ago
I think option A is the correct answer. The 'rare' command will return the least common field values, and 'num=15' will limit the results to the 15 least common values.
RE
Reyes
2 years ago
I think option D is the correct answer, using 'limit=15' will give the 15 least common field values.
EM
Emelda
2 years ago
User2: Yeah, I think so too. The 'num=15' specifies the number of least common values to return.
MA
Matthew
2 years ago
I'm not sure, but I think option C might be the right choice.
LU
Luisa
2 years ago
User1: I agree, option A seems to be the right choice.
LU
Luis
2 years ago
I think it's option B, using 'last=15' will return the 15 least common values.
FA
Farrah
2 years ago
I agree, option A is the correct answer.
AB
Abel
2 years ago
Hmm, that makes sense too. I guess it depends on how the search is implemented.
CE
Ceola
2 years ago
I disagree, I believe the answer is C) sourcetype=firewall | rare count=15 dest_ip because it explicitly mentions counting the values.
AB
Abel
2 years ago
I think the answer is A) sourcetype=firewall | rare num=15 dest_ip because it specifies the number of values to return.