<?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 is regex for below? in Security</title>
    <link>https://community.splunk.com/t5/Security/What-is-regex-for-below/m-p/635194#M16624</link>
    <description>&lt;P&gt;FW: [ DOC 45 ] DTP: DEMO XXX CCC | 20147&lt;BR /&gt;I want to extract number after pie as field name "data".&amp;nbsp; what is the regex?&lt;/P&gt;</description>
    <pubDate>Tue, 21 Mar 2023 16:21:59 GMT</pubDate>
    <dc:creator>karu0711</dc:creator>
    <dc:date>2023-03-21T16:21:59Z</dc:date>
    <item>
      <title>What is regex for below?</title>
      <link>https://community.splunk.com/t5/Security/What-is-regex-for-below/m-p/635194#M16624</link>
      <description>&lt;P&gt;FW: [ DOC 45 ] DTP: DEMO XXX CCC | 20147&lt;BR /&gt;I want to extract number after pie as field name "data".&amp;nbsp; what is the regex?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 16:21:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/What-is-regex-for-below/m-p/635194#M16624</guid>
      <dc:creator>karu0711</dc:creator>
      <dc:date>2023-03-21T16:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: what is regex for below?</title>
      <link>https://community.splunk.com/t5/Security/What-is-regex-for-below/m-p/635201#M16625</link>
      <description>&lt;P&gt;Give this a try&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;\|(?&amp;lt;data&amp;gt;\d+)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 20 Mar 2023 20:54:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/What-is-regex-for-below/m-p/635201#M16625</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2023-03-20T20:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: what is regex for below?</title>
      <link>https://community.splunk.com/t5/Security/What-is-regex-for-below/m-p/635206#M16627</link>
      <description>&lt;P&gt;Hi Karu, this should work by taking the raw data and only selecting the digits after the pipe character. The space after the pipe is ignored before the digits are placed into a new field named data.&lt;/P&gt;&lt;PRE&gt;| rex field=_raw "\|\s(?&amp;lt;data&amp;gt;\d*)"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 21:08:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/What-is-regex-for-below/m-p/635206#M16627</guid>
      <dc:creator>The_Data_Pirate</dc:creator>
      <dc:date>2023-03-20T21:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: what is regex for below?</title>
      <link>https://community.splunk.com/t5/Security/What-is-regex-for-below/m-p/635232#M16628</link>
      <description>&lt;P&gt;You can check this and get to know how the data is extracted.&lt;BR /&gt;&lt;A href="https://regex101.com/r/dECVmS/1" target="_blank" rel="noopener"&gt;https://regex101.com/r/dECVmS/1&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 03:06:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/What-is-regex-for-below/m-p/635232#M16628</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2023-03-21T03:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: what is regex for below?</title>
      <link>https://community.splunk.com/t5/Security/What-is-regex-for-below/m-p/635329#M16630</link>
      <description>&lt;P&gt;&lt;SPAN&gt;FW: [ DOC 45 ] DTP: DEMO XXX CCC | 20147&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I also need to separate [ DOC 45] as category&amp;nbsp;&lt;BR /&gt;DTP as type&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;demo xxx ccc as call&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 14:18:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/What-is-regex-for-below/m-p/635329#M16630</guid>
      <dc:creator>karu0711</dc:creator>
      <dc:date>2023-03-21T14:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: what is regex for below?</title>
      <link>https://community.splunk.com/t5/Security/What-is-regex-for-below/m-p/635409#M16631</link>
      <description>&lt;P&gt;as long as the data structure doesn't change too much this should work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=_raw ".*\[\s(?&amp;lt;category&amp;gt;.*)\s\]\s(?&amp;lt;type&amp;gt;\w*).*\|\s(?&amp;lt;data&amp;gt;\d*)"&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 21 Mar 2023 22:44:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/What-is-regex-for-below/m-p/635409#M16631</guid>
      <dc:creator>The_Data_Pirate</dc:creator>
      <dc:date>2023-03-21T22:44:54Z</dc:date>
    </item>
  </channel>
</rss>

