Sorry, the title is a bit tongue-in-cheek
I have a dashboard which shows test results. The tests are IP related and I use the IP address to identify if the destination address is a Proxy Server or NOT.
(I have a list of Proxy server addresses, which is currently only two addresses)
The goal is to show the dashboard results Including Proxies or Not Including Proxies.
Ideally, I would like a Control Button to include or exclude the Proxy IP addresses within my results, but I do not think that is possible (for one thing, I understand you can't set a default list, let alone have 'on/off').
NB the organisation is currently stuck on Kibana 7.1.1, which limits me even further
The approach I am considering is to create a filter as a query, with the hope that the user can choose to Include or Exclude the list of proxy addresses, ie click on the filter name and select from drop-down options.
The default would be to include the addresses ... which is where my problem occurs.
I believe 'could or should' is actually Must or Should in boolean terms, but that equates to logical AND/OR, which doesn't help me, as I want to include the non-listed addresses (ie all other IP addresses).
I think it is correct, that if I add a filter to include the list of proxies, using Must or Should, it becomes an explicit logical operation that one or all of those listed are only returned in the result, ie non-listed addresses are not returned.
I could save the dashboard with the filter 'temporarily disabled' so that everything is included, but this makes usability of the dashboard very difficult to explain when released into the wild.
(consider explaining NOT FILTER is excluding proxies, DISABLED FILTER is including proxies, but not to use IS FILTER, which is 'only proxies')
Is there a logical expression that allows me to select Include/Exclude Filter resulting in the filter and 'everything else' (bearing in mind my 7.1.1 limitation)?
I am hoping I have explained my dilemma well enough ...and that I am not asking a really stupid question.
Happy New Year to you all, and wishing you a successful 2023.