当前位置:网站首页>The field value in Splunk subquery fuzzy matching CSV is*
The field value in Splunk subquery fuzzy matching CSV is*
2022-07-07 08:23:00 【QYHuiiQ】
In our previous case, it is often used directly in spl of use * To fuzzy match , But if in one csv The value of a field defined in is *, And then in spl In the right direction csv When making a query , This * Whether the value also indicates fuzzy matching ? In response to this question , The following tests were performed :
- establish csv Test data
| makeresults
| eval student_name="T*",hometown="Zhejiang"
| fields - _time
| outputlookup student.csv
# What I want to show here is the name with T At the beginning , All the students hometown All are Zhejiang
see csv:
- Use spl Compare the original data with csv Merge query
| makeresults
| eval student_name="Tina",age="17",hometown="Zhejiang"
| search
[| inputlookup student.csv
| fields student_name hometown]
| table student_name age hometown
The student name in this data begins with , If csv Medium T* It can express fuzzy matching , Then our execution result should be that this data can be queried , If csv Medium T* Representation string "T*", Then we can't find out the result .
Execution results :
Case1:
Case2:
explain csv Medium T* Represents a fuzzy match .
Case3:
Case4:
Through the above test, we can get ,csv The field value in is * when , Represents a fuzzy match rather than a string .
边栏推荐
- Xcit learning notes
- Four items that should be included in the management system of integral mall
- Rainbond 5.7.1 支持对接多家公有云和集群异常报警
- Leetcode medium question my schedule I
- Use of any superclass and generic extension function in kotlin
- [IELTS speaking] Anna's oral learning records Part3
- Le système mes est un choix nécessaire pour la production de l'entreprise
- Infix keyword infix expression and the use of generic extension function in kotlin
- 探索STEAM艺术设计中的创造力
- 云原生存储解决方案Rook-Ceph与Rainbond结合的实践
猜你喜欢
饥荒云服管理脚本
Give full play to the wide practicality of maker education space
[step on the pit series] H5 cross domain problem of uniapp
Rsync remote synchronization
rsync远程同步
【无标题】
Analysis of maker education in innovative education system
Pvtv2--pyramid vision transformer V2 learning notes
Battery and motor technology have received great attention, but electric control technology is rarely mentioned?
使用BiSeNet实现自己的数据集
随机推荐
Zcmu--1492: problem d (C language)
【Go ~ 0到1 】 第七天 获取时间戳,时间比较,时间格式转换,Sleep与定时器
Explore creativity in steam art design
Vulnerability recurrence easy_ tornado
Full text query classification
BiSeNet的特点
Using helm to install rainbow in various kubernetes
Wang Zijian: is the NFT of Tencent magic core worth buying?
Detailed explanation of apply, also, let, run functions and principle analysis of internal source code in kotlin
SSM 整合
One click deployment of highly available emqx clusters in rainbow
The simple problem of leetcode is to judge whether the number count of a number is equal to the value of the number
Rainbow version 5.6 was released, adding a variety of installation methods and optimizing the topology operation experience
Pytoch (VI) -- model tuning tricks
Blob object introduction
Open3d ISS key points
opencv学习笔记三——图像平滑/去噪处理
Analyzing the influence of robot science and technology development concept on Social Research
CCTV is so warm-hearted that it teaches you to write HR's favorite resume hand in hand
JS复制图片到剪切板 读取剪切板