<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic What rex command extracts data from csv? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/What-rex-command-extracts-data-from-csv/m-p/635834#M15803</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;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 .&lt;BR /&gt;&lt;BR /&gt;Rexgex expression&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;^.*(?= \[)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Example: Want to extract the highlighted bold data. This data is present in csv lookup file.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;TAX PLATFORM&lt;/STRONG&gt; [12998]&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;CPOI&lt;/STRONG&gt; [0639]&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| inputlookup Meta.csv 
| rex field=Application "^.*(?&amp;lt;name&amp;gt;= \[)"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Mar 2023 16:29:45 GMT</pubDate>
    <dc:creator>Ashwini008</dc:creator>
    <dc:date>2023-03-24T16:29:45Z</dc:date>
    <item>
      <title>What rex command extracts data from csv?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/What-rex-command-extracts-data-from-csv/m-p/635834#M15803</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;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 .&lt;BR /&gt;&lt;BR /&gt;Rexgex expression&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;^.*(?= \[)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Example: Want to extract the highlighted bold data. This data is present in csv lookup file.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;TAX PLATFORM&lt;/STRONG&gt; [12998]&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;CPOI&lt;/STRONG&gt; [0639]&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| inputlookup Meta.csv 
| rex field=Application "^.*(?&amp;lt;name&amp;gt;= \[)"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 16:29:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/What-rex-command-extracts-data-from-csv/m-p/635834#M15803</guid>
      <dc:creator>Ashwini008</dc:creator>
      <dc:date>2023-03-24T16:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Rex command to extract data from csv</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/What-rex-command-extracts-data-from-csv/m-p/635849#M15805</link>
      <description>&lt;LI-CODE lang="markup"&gt;| inputlookup Meta.csv 
| rex field=Application "^(?&amp;lt;name&amp;gt;.*)= \["&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 24 Mar 2023 09:22:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/What-rex-command-extracts-data-from-csv/m-p/635849#M15805</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-03-24T09:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: Rex command to extract data from csv</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/What-rex-command-extracts-data-from-csv/m-p/635883#M15808</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;It isn't working&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ashwini008_0-1679654470813.png" style="width: 691px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/24514i79FF9BB0F3C4D0D0/image-dimensions/691x202?v=v2" width="691" height="202" role="button" title="Ashwini008_0-1679654470813.png" alt="Ashwini008_0-1679654470813.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 10:42:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/What-rex-command-extracts-data-from-csv/m-p/635883#M15808</guid>
      <dc:creator>Ashwini008</dc:creator>
      <dc:date>2023-03-24T10:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: Rex command to extract data from csv</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/What-rex-command-extracts-data-from-csv/m-p/635891#M15810</link>
      <description>&lt;P&gt;Sorry, I left the '=' in unnecessarily - try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup Meta.csv 
| rex field=Application "^(?&amp;lt;name&amp;gt;.*) \["&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 24 Mar 2023 10:51:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/What-rex-command-extracts-data-from-csv/m-p/635891#M15810</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-03-24T10:51:22Z</dc:date>
    </item>
  </channel>
</rss>

