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!

2024 Splunk Career Impact Survey | Earn a $20 gift card for participating!

Hear ye, hear ye! The time has come again for Splunk's annual Career Impact Survey!  We need your help by ...

Optimize Cloud Monitoring

  TECH TALKS Optimize Cloud Monitoring Tuesday, August 13, 2024  |  11:00AM–12:00PM PST   Register to ...

What's New in Splunk Cloud Platform 9.2.2403?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.2.2403! Analysts can ...