Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

How to apply regex to a field in lookup file?

$
0
0
I have a lookup file query as follows | inputlookup ABCD.csv which displays the results as follows **Host** efgh ijkl.mno.com pqrs.tuv.net wxyz Now how can i add a regex to display only the hostname and avoid the extra string which ever after the dot(.). I just want to apply the regex to display the result as follows **Host** efgh ijkl pqrs wxyz

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>