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 Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...