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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...