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 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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