<?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 Re: REGEX with variabilities in Data Length/Structure/Type in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/REGEX-with-variabilities-in-Data-Length-Structure-Type/m-p/557892#M158445</link>
    <description>&lt;P&gt;If your problem is resolved, then please click the "Accept as Solution" button to help future readers.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Jun 2021 18:40:34 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2021-06-30T18:40:34Z</dc:date>
    <item>
      <title>REGEX with variabilities in Data Length/Structure/Type</title>
      <link>https://community.splunk.com/t5/Splunk-Search/REGEX-with-variabilities-in-Data-Length-Structure-Type/m-p/557652#M158374</link>
      <description>&lt;P&gt;2019-06-201 09:05:22.945, &amp;nbsp;User: XX, EType: SIGN, Filter: 000000000, EventId: SIGNATURE, Id: 028119296, UserIdType: xxx, Address: 000.000.100.100, SystemName: Neno, SId: &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;adb155b9-b3aa-4a64-8312-33f8f41de96d, TransType: SDLN, Tid: 9200001193, UserNm: xxx aaa, UType: yyyy, UId: 67B7-xxxx-bbbb-6abr-E0B1D9B6083B, Level: BoM3, Form: MOB, IntentId: 531, Timestamp: 2019-06-29T14:05:22.954Z&lt;/STRONG&gt;&lt;/FONT&gt;, ExtCode: 00, Message: null. &lt;SPAN&gt;2019-06-21&lt;/SPAN&gt; &lt;SPAN&gt;06:30:30.107&lt;/SPAN&gt;, &lt;SPAN&gt;User:&lt;/SPAN&gt; YYY, &lt;SPAN&gt;EType:&lt;/SPAN&gt; no&lt;SPAN&gt;SIGN&lt;/SPAN&gt;, &lt;SPAN&gt;Filter:&lt;/SPAN&gt; &lt;SPAN&gt;000000000&lt;/SPAN&gt;, &lt;SPAN&gt;EventId:&lt;/SPAN&gt; &lt;SPAN&gt;No_SIGNATURES&lt;/SPAN&gt;,&lt;SPAN&gt;Id:&lt;/SPAN&gt; 00&lt;SPAN&gt;234545345&lt;/SPAN&gt;-, &lt;SPAN&gt;Address:&lt;/SPAN&gt; 000&lt;SPAN&gt;.111.222.005&lt;/SPAN&gt;, &lt;SPAN&gt;SystemName:&lt;/SPAN&gt; Neno, &lt;SPAN&gt;SId:&lt;/SPAN&gt; &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;=/=S()A.b(X(-yJrV/+do)f(Q_)uW-/6+o_v.k|3dOYc+Fh_=YOX-iDA++===, TType: CAF_dLn, TId: ThisIsAutomation&lt;/STRONG&gt;&lt;/FONT&gt;, Ext&lt;SPAN&gt;Code:&lt;/SPAN&gt; &lt;SPAN&gt;00, &lt;/SPAN&gt;Message: null.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I included 2 sample events. My objective is to extract "Sid" field values. The field values should contain all text between SId and ExtCode (Highlighted as Bold RED). Any help will be highly appreciated! Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 18:01:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/REGEX-with-variabilities-in-Data-Length-Structure-Type/m-p/557652#M158374</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2021-06-29T18:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: REGEX with variabilities in Data Length/Structure/Type</title>
      <link>https://community.splunk.com/t5/Splunk-Search/REGEX-with-variabilities-in-Data-Length-Structure-Type/m-p/557714#M158396</link>
      <description>&lt;P&gt;This should do it.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "SId: (?&amp;lt;sid&amp;gt;.*?), ExtCode"&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 30 Jun 2021 00:25:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/REGEX-with-variabilities-in-Data-Length-Structure-Type/m-p/557714#M158396</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-06-30T00:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: REGEX with variabilities in Data Length/Structure/Type</title>
      <link>https://community.splunk.com/t5/Splunk-Search/REGEX-with-variabilities-in-Data-Length-Structure-Type/m-p/557867#M158436</link>
      <description>&lt;P&gt;I would also like to add a text&amp;nbsp; "SID:" as a part of&amp;nbsp; "sid" field values ...any help would be highly appreciated!&lt;/P&gt;&lt;P&gt;Thank you and Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 17:05:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/REGEX-with-variabilities-in-Data-Length-Structure-Type/m-p/557867#M158436</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2021-06-30T17:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: REGEX with variabilities in Data Length/Structure/Type</title>
      <link>https://community.splunk.com/t5/Splunk-Search/REGEX-with-variabilities-in-Data-Length-Structure-Type/m-p/557868#M158437</link>
      <description>&lt;LI-CODE lang="markup"&gt;| rex "(?&amp;lt;sid&amp;gt;SId: .*?), ExtCode"&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 30 Jun 2021 17:13:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/REGEX-with-variabilities-in-Data-Length-Structure-Type/m-p/557868#M158437</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-06-30T17:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: REGEX with variabilities in Data Length/Structure/Type</title>
      <link>https://community.splunk.com/t5/Splunk-Search/REGEX-with-variabilities-in-Data-Length-Structure-Type/m-p/557874#M158438</link>
      <description>&lt;P&gt;I used this....&lt;/P&gt;&lt;P&gt;SId:\s+(?P&amp;lt;sid&amp;gt;SId:&amp;nbsp; .*),&amp;nbsp; EXTCode&lt;/P&gt;&lt;P&gt;But not working....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 18:00:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/REGEX-with-variabilities-in-Data-Length-Structure-Type/m-p/557874#M158438</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2021-06-30T18:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: REGEX with variabilities in Data Length/Structure/Type</title>
      <link>https://community.splunk.com/t5/Splunk-Search/REGEX-with-variabilities-in-Data-Length-Structure-Type/m-p/557878#M158440</link>
      <description>&lt;P&gt;You have used Sid: twice in the expression - use it once as I suggested.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 18:06:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/REGEX-with-variabilities-in-Data-Length-Structure-Type/m-p/557878#M158440</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-06-30T18:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: REGEX with variabilities in Data Length/Structure/Type</title>
      <link>https://community.splunk.com/t5/Splunk-Search/REGEX-with-variabilities-in-Data-Length-Structure-Type/m-p/557885#M158442</link>
      <description>&lt;P&gt;Oh yes....thank you...working as expected, appreciated &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;!!!&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 18:16:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/REGEX-with-variabilities-in-Data-Length-Structure-Type/m-p/557885#M158442</guid>
      <dc:creator>SplunkDash</dc:creator>
      <dc:date>2021-06-30T18:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: REGEX with variabilities in Data Length/Structure/Type</title>
      <link>https://community.splunk.com/t5/Splunk-Search/REGEX-with-variabilities-in-Data-Length-Structure-Type/m-p/557892#M158445</link>
      <description>&lt;P&gt;If your problem is resolved, then please click the "Accept as Solution" button to help future readers.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 18:40:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/REGEX-with-variabilities-in-Data-Length-Structure-Type/m-p/557892#M158445</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-06-30T18:40:34Z</dc:date>
    </item>
  </channel>
</rss>

