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

Need to remove particular character from a field value

$
0
0
Hi Ninjas, I have the following values for host name field . appra94a0350 appra92a0350 appra84a0201 appra25a0201 appra93a0201 apvra98a0540 appra03**v**0337 appra01**v**0337 appra02**v**0337 appra04**v**0337 appra05**v**0337 I need to remove the highlighted v character from the host alues that contains v character in it. i am using the following query but its not working as expected |inputlookup alljobs.csv | eval host=replace(host,"\w{5}\d{2}v\d{4}","\w{5}\d{6}") Can you please help me here.

Viewing all articles
Browse latest Browse all 47296

Latest Images

Trending Articles



Latest Images

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