当前位置:网站首页>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 .
边栏推荐
- Analysis of maker education in innovative education system
- Deit learning notes
- Openvscode cloud ide joins rainbow integrated development system
- [quick start of Digital IC Verification] 12. Introduction to SystemVerilog testbench (svtb)
- 利用 Helm 在各类 Kubernetes 中安装 Rainbond
- Detailed explanation of apply, also, let, run functions and principle analysis of internal source code in kotlin
- [untitled]
- Pvtv2--pyramid vision transformer V2 learning notes
- Qinglong panel - today's headlines
- Use of JMeter
猜你喜欢
BiSeNet的特点
探索STEAM艺术设计中的创造力
The truth of robot education in hands-on practice
opencv学习笔记五——梯度计算/边缘检测
【雅思口语】安娜口语学习记录 Part2
藏书馆App基于Rainbond实现云原生DevOps的实践
Register of assembly language by Wang Shuang
The largest 3 same digits in the string of leetcode simple question
Improve the delivery efficiency of enterprise products (1) -- one click installation and upgrade of enterprise applications
利用 Helm 在各类 Kubernetes 中安装 Rainbond
随机推荐
MES系统,是企业生产的必要选择
藏书馆App基于Rainbond实现云原生DevOps的实践
opencv学习笔记二——图像基本操作
Four items that should be included in the management system of integral mall
[quick start of Digital IC Verification] 14. Basic syntax of SystemVerilog learning 1 (array, queue, structure, enumeration, string... Including practical exercises)
Open3D ISS关键点
SSM 整合
[go ~ 0 to 1] obtain timestamp, time comparison, time format conversion, sleep and timer on the seventh day
【无标题】
Splunk子查询模糊匹配csv中字段值为*
柯基数据通过Rainbond完成云原生改造,实现离线持续交付客户
Rainbow combines neuvector to practice container safety management
GFS分布式文件系统
Standard function let and generic extension function in kotlin
Bisenet features
The truth of robot education in hands-on practice
Improve the delivery efficiency of enterprise products (1) -- one click installation and upgrade of enterprise applications
Rainbow 5.7.1 supports docking with multiple public clouds and clusters for abnormal alarms
Offer harvester: add and sum two long string numbers (classic interview algorithm question)
Splunk中single value视图使用将数值替换为文字