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

How to split a string into 2 separate fields in Splunk 6.5?

$
0
0
Hi, before Splunk 6.5 I used commands like this to split strings into separate fields. For fields like **productId=abc_text_def** | rex field=productId "(?.*)\_text_(?.*)" Since 6.5 this does not work anymore. The error is: Error in 'rex' command: Encountered the following error while compiling the regex '(?.*)\_text_(?.*): Regex: unrecognized character follows \ Can you help me to fix this?

Viewing all articles
Browse latest Browse all 47296

Trending Articles



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