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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...