当前位置:网站首页>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 .
边栏推荐
- Four items that should be included in the management system of integral mall
- Interactive book delivery - signed version of Oracle DBA work notes
- Leetcode 187 Repeated DNA sequence (2022.07.06)
- Understanding of out covariance, in inversion and invariance in kotlin
- [IELTS speaking] Anna's oral learning records part2
- What is the function of paralleling a capacitor on the feedback resistance of the operational amplifier circuit
- It's too true. There's a reason why I haven't been rich
- 漏洞複現-Fastjson 反序列化
- 饥荒云服管理脚本
- Use of out covariance and in inversion in kotlin
猜你喜欢
Automatic upgrading of database structure in rainbow
opencv学习笔记一——读取图像的几种方法
利用 Helm 在各类 Kubernetes 中安装 Rainbond
使用 Nocalhost 开发 Rainbond 上的微服务应用
Avatary's livedriver trial experience
单场带货涨粉10万,农村主播竟将男装卖爆单?
CTF-WEB shrine模板注入nmap的基本使用
One click installation of highly available Nacos clusters in rainbow
Openvscode cloud ide joins rainbow integrated development system
[quick start of Digital IC Verification] 11. Introduction to Verilog testbench (VTB)
随机推荐
Call pytorch API to complete linear regression
PVTV2--Pyramid Vision TransformerV2学习笔记
Excel import function of jeesite form page
探索STEAM艺术设计中的创造力
opencv学习笔记五——梯度计算/边缘检测
Unityhub cracking & unity cracking
Zcmu--1492: problem d (C language)
Coquette data completes the cloud native transformation through rainbow to realize offline continuous delivery to customers
单场带货涨粉10万,农村主播竟将男装卖爆单?
一文了解如何源码编译Rainbond基础组件
The use of generics and vararg variable parameters in kotlin
Improve the delivery efficiency of enterprise products (1) -- one click installation and upgrade of enterprise applications
Battery and motor technology have received great attention, but electric control technology is rarely mentioned?
GFS分布式文件系统
Make LIVELINK's initial pose consistent with that of the mobile capture actor
Open3D ISS关键点
Leetcode simple question: find the K beauty value of a number
Réplication de vulnérabilité - désrialisation fastjson
offer收割机:两个长字符串数字相加求和(经典面试算法题)
船载雷达天线滑环的使用