[英]How to make Splunk query case sensitive
How do I make my query case sensitive. 如何使我的查询区分大小写。
Say I want my search results for "Case Sensitive"
and not "CASE sensitive"
or "CASE SENSITIVE"
说我希望我的搜索结果为"Case Sensitive"
而不是"CASE sensitive"
或"CASE SENSITIVE"
This is what I'm using which isn't helping. 这就是我正在使用的没有帮助的东西。
index=foo_foo sourcetype=foo "Is my query CASE(Case Sensitive)"
I've tried using CASE(Case Sensitive)
but that didn't help me get the results. 我尝试过使用CASE(Case Sensitive)
但这并没有帮助我得到结果。
I suspect Splunk is interpreting your search string literally so is not seeing CASE as a function. 我怀疑Splunk正在逐字地解释你的搜索字符串,因此没有将CASE视为一个函数。
Try this: 尝试这个:
index=foo_foo sourcetype=foo "Is my query "CASE(Case Sensitive)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.