Hi,
I am trying to extract data from one of the column in lookup file. Regex expression is working in rex tool. I want to use that regex expression in rex command in splunk .
Rexgex expression ^.*(?= \[)
Example: Want to extract the highlighted bold data. This data is present in csv lookup file.
| inputlookup Meta.csv
| rex field=Application "^.*(?<name>= \[)"
Sorry, I left the '=' in unnecessarily - try this
| inputlookup Meta.csv
| rex field=Application "^(?<name>.*) \["
| inputlookup Meta.csv
| rex field=Application "^(?<name>.*)= \["
Sorry, I left the '=' in unnecessarily - try this
| inputlookup Meta.csv
| rex field=Application "^(?<name>.*) \["