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

Field extraction from data within backslashes

$
0
0
Hi, I have dateset that contains IP addresses. IP Addresses are coming in variations due to ranges they are assigned to separated by \ backslashes. I need them to be extracted in multiple fields regardless of how many variations are there. See sample data below: 1.2.3.4\n4.5.6.7\n8.9.1.2 1.2.3.4\n4.5.6.7\n 1.2.3.4\n4.5.6.7 1.2.3.4\n4.5.6.7\n8.9.1.2 I need them like: 1.2.3.4\n4.5.6.7\n8.9.1.2 Value1: 1.2.3.4 Value2: 4.5.6.7 Value3: 8.9.1.2 Value4: and so on..... So basically all values within backslash, I need them separated out in fields. Also, the letter "n" or any alphabets attached to any IP also needs to go. Thanks in-advance!

Viewing all articles
Browse latest Browse all 47296

Trending Articles



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