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 Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...