Splunk Search

Search filter shortcut for "NOT"

paterler
Explorer

I know, that I can double click on pretty much anything in the log lines to transfer this term to the search box. But mostly I want to filter down a log file by eliminating certain terms. right now, I double click, go to the search box and write a NOT before the term. Is there a shortcut for this, maybe a modifier (hold ctrl or something like this..)?

Tags (1)
1 Solution

paterler
Explorer

The answer is..... ALT (on windows) is the modifier to put a NOT in front of the search term.

View solution in original post

grijhwani
Motivator

It never occurred to me to even ask, but now that you have I have learnt a helpful shortcut.

paterler
Explorer

The answer is..... ALT (on windows) is the modifier to put a NOT in front of the search term.

gkanapathy
Splunk Employee
Splunk Employee

On a Mac, you can use Option-Click. On Windows, you can use Alt-Click instead.

Ayn
Legend

Well, yes...you said it yourself, hold ctrl 🙂

Unless I'm misinterpreting you, because from the search view I'm thinking about you only do a single click, not a double click.

0 Karma

paterler
Explorer

you are right, single click is enough, but it just inserts the term into the search box. what I'm looking for is something that inserts "NOT searchterm" into the search box.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...