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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...