Splunk Search

Search expression to search log data..

misteryuku
Communicator

This search only searches for a set of log messages that contains TCP protocol, info field value that contains syn, the same dest field value and eventcount >= 20 (for 20 consecutive log messages). How do i change this search expression that includes checking if any messages that contains log messages that contains TCP protocol, same dest field and info field value contains FIN and ACK such that splunk produce the same result.

protocol="TCP" |where match(info, "SYN") |transaction dest |search eventcount>=20

Tags (1)
0 Karma

fk319
Builder

try something like:

protocol="TCP" | transaction maxpause=1m dest | search info="SYN" info="FIN" info="ACK"

the transaction will create a multivalue field on info, so the seach above makes more sense.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...