Splunk Search

How to use 'AND' keyword in Transaction command

sasank
Explorer

Hi,

I want to use 'AND' keyword either in startsWith or in endsWith.

<<search>> | transaction startsWith="some text" AND "some other text" endswith="some text" AND "some other text"

Is this possible?

 

Labels (1)
0 Karma

Manasa_401
Communicator

Hi @sasank 

According to the documentation, it is possible. Have a look at the below link.

https://docs.splunk.com/Documentation/Splunk/9.0.3/SearchReference/Transaction#Filter_string_options 

If this helps, karma would be appreciated.

Thanks,

Manasa

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Rounding off the Splunk Dashboard Contest

What does a contest-winning Splunk dashboard look like? In this case, it isn't in a browser tab at all. It ...

A Four Part Event Series: AI + Observability: AI Agents, LLMs, Apps, & Infrastructure

AI &#43; Observability: AI Agents, LLMs, Apps, & Infrastructure The rapid evolution of artificial intelligence ...