Cribl 利用表向event 中插入相应的字段-example-02

Working with Lookups – Example 2

Let’s assume we have the following lookup file, and given both the fields impact and priority in an event, we would like to add a corresponding ingestion-time field called severity.

cisco_sourcefire_severity.csv

impact,priority,severity
1,high,critical
2,high,critical
3,high,high
4,high,high
0,high,high
"*",high,high
.....
"*",medium,medium
1,low,medium
2,low,medium
3,low,low
4,low,low
0,low,low
"*",low,low
1,none,low
2,none

你可能感兴趣的:(splunk,cribl,splunk,csv,lookup,字段)