|
Hi, I have a field named hello_world and a value of the field is * I am writing a search where the results will not include this value *. The problem is if I write for example:
I will get no results that have any value for field hello_world and at face value that makes sense. So how can I tell Splunk to say |
|
You may need to do something like this:
1
You can also do simple string comparison in the where command:
(09 Jun '11, 09:53)
ziegfried ♦
the match command works but it also seems to remove any other hello_world field values that contain an asterisk *. This could be a bit of a problem. Thanks mw. Ziegfried, your solution works as desired. Thanks again.
(10 Jun '11, 02:39)
Ant1D
match uses regular expressions, so you just needed to anchor it then: "where NOT match(hello_world, "^\*$")"
(10 Jun '11, 03:10)
mw
|
|
This is a known bug, which is present in the Release Notes' Known Issues page.
So you should go for the suggested workarounds... I am good at finding Splunk bugs ;)
(10 Jun '11, 02:42)
Ant1D
|