<?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: Can you help me with the following regex? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410529#M118463</link>
    <description>&lt;P&gt;Did this work @jip31?&lt;/P&gt;</description>
    <pubDate>Mon, 26 Nov 2018 16:13:49 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2018-11-26T16:13:49Z</dc:date>
    <item>
      <title>Can you help me with the following regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410513#M118447</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;

&lt;P&gt;I want to add a rex field in my search&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="ai-wkst-wineventlog-fr" sourcetype="XmlWinEventLog" source="XmlWinEventLog:Application" (Level=1 OR Level=3) Name="'*'"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I want to extract the text which is included before "ProgID" and after "" and also the text which is after "ProgID"&lt;/P&gt;

&lt;P&gt;Outlook a désactivé le ou les compléments suivants :&lt;BR /&gt;
ProgID : WebExOI.Addin&lt;/P&gt;

&lt;P&gt;Could you help me please??&lt;/P&gt;</description>
      <pubDate>Sat, 24 Nov 2018 06:27:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410513#M118447</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2018-11-24T06:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me with the following regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410514#M118448</link>
      <description>&lt;P&gt;Hi. Can you provide log samples?&lt;/P&gt;</description>
      <pubDate>Sat, 24 Nov 2018 07:05:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410514#M118448</guid>
      <dc:creator>burwell</dc:creator>
      <dc:date>2018-11-24T07:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me with the following regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410515#M118449</link>
      <description>&lt;P&gt;hi &lt;BR /&gt;
Outlook a désactivé le ou les compléments suivants :&lt;BR /&gt;
ProgID : ColleagueImport.ColleagueImportAddin&lt;BR /&gt;
GUID : {EFEF7FDB-0CED-4FB6-B3BB-3C50D39F4120}&lt;BR /&gt;
Nom : Microsoft SharePoint Server Colleague Import Add-in&lt;/P&gt;</description>
      <pubDate>Sat, 24 Nov 2018 07:19:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410515#M118449</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2018-11-24T07:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me with the following regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410516#M118450</link>
      <description>&lt;P&gt;Try this: &lt;CODE&gt;(?&amp;lt;text1&amp;gt;[^\r\n:]+)\s:\s*ProgID\s:\s(?&amp;lt;text2&amp;gt;[^\r\n]+)&lt;/CODE&gt;&lt;BR /&gt;
&lt;A href="https://regex101.com/r/fRXqTf/1"&gt;https://regex101.com/r/fRXqTf/1&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Nov 2018 12:33:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410516#M118450</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-11-24T12:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me with the following regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410517#M118451</link>
      <description>&lt;P&gt;Hi. Please, try this one (.&lt;EM&gt;?[\r\n]){1}+(.&lt;/EM&gt;?[\r\n]){1}&lt;/P&gt;

&lt;P&gt;I`ve tested on regex101.com and it looks like exactly that you are looking for.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/6163iEF5D6887584FD0E3/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Nov 2018 13:03:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410517#M118451</guid>
      <dc:creator>wagnerlucena</dc:creator>
      <dc:date>2018-11-24T13:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me with the following regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410518#M118452</link>
      <description>&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(?ms)^(?&amp;lt;message&amp;gt;.*?)\s*:[\r\n\s]+ProgID\s+:\s+(?&amp;lt;ProgID&amp;gt;[^\r\n]+)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;See here:&lt;BR /&gt;
&lt;A href="https://regex101.com/r/QdSDvV/1"&gt;https://regex101.com/r/QdSDvV/1&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Nov 2018 18:38:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410518#M118452</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-11-24T18:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me with the following regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410519#M118453</link>
      <description>&lt;P&gt;Hello all and many thanks&lt;BR /&gt;
I want to add this regex in my query&lt;BR /&gt;
what is the good syntax please?&lt;BR /&gt;
| rex field=EventData_Xml "(?ms)^(?.&lt;EM&gt;?)\s&lt;/EM&gt;:[\r\n\s]+ProgID\s+:\s+(?[^\r\n]+)f" | table message ProgID&lt;BR /&gt;
| rex field=EventData_Xml "(?[^\r\n:]+)\s:\s*ProgID\s:\s(?[^\r\n]+)3 | table text1 text2&lt;BR /&gt;
?????&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:11:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410519#M118453</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2020-09-29T22:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me with the following regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410520#M118454</link>
      <description>&lt;P&gt;I have no result Wen i do this&lt;BR /&gt;
| rex field=EventData_Xml "(?ms)^(?.&lt;EM&gt;?)\s&lt;/EM&gt;:[\r\n\s]+ProgID\s+:\s+(?[^\r\n]+)f "| table message ProgID&lt;/P&gt;</description>
      <pubDate>Sun, 25 Nov 2018 16:48:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410520#M118454</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2018-11-25T16:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me with the following regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410521#M118455</link>
      <description>&lt;P&gt;hello I dont succeed to used it does it something like this :???&lt;/P&gt;

&lt;P&gt;rex field=EventData_Xml "(?[^\r\n:]+)\s:\s*ProgID\s:\s(?[^\r\n]+)" | table EventData_Xml&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:11:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410521#M118455</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2020-09-29T22:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me with the following regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410522#M118456</link>
      <description>&lt;P&gt;Can you please make sure to post any code between `? Or format it as a code snippet using the 101010 button in the editor toolbar? Now special characters like &lt;CODE&gt;&amp;lt;&amp;gt;&lt;/CODE&gt; disappear.&lt;/P&gt;

&lt;P&gt;It should be something like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rex field=EventData_Xml "(?&amp;lt;message&amp;gt;[^\r\n:]+)\s:\s*ProgID\s:\s(?&amp;lt;ProgID&amp;gt;[^\r\n]+)" | table message ProgID
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If that isn't working, then I'd like to see a screenshot, or more extensive piece of sample data.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 08:42:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410522#M118456</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-11-26T08:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me with the following regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410523#M118457</link>
      <description>&lt;P&gt;sorry franck no it doesnt works&lt;BR /&gt;
you can see the code here&lt;BR /&gt;
&lt;A href="https://cjoint.com/c/HKAjr4hOctc"&gt;https://cjoint.com/c/HKAjr4hOctc&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 09:28:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410523#M118457</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2018-11-26T09:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me with the following regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410524#M118458</link>
      <description>&lt;P&gt;Can you:&lt;BR /&gt;
- show a screenshot that clearly shows the EventData_Xml field exists and what it look like (feel free to mask any sensitive data)&lt;BR /&gt;
- test the search in a simple way (so without all the rest of your query), just get the data and apply the rex command.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 10:16:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410524#M118458</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-11-26T10:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me with the following regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410525#M118459</link>
      <description>&lt;P&gt;Here is the screenshot&lt;/P&gt;

&lt;P&gt;&lt;A href="https://cjoint.com/c/HKAlomr50Rc"&gt;https://cjoint.com/c/HKAlomr50Rc&lt;/A&gt; &lt;BR /&gt;
no results also in simple way&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 11:15:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410525#M118459</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2018-11-26T11:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me with the following regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410526#M118460</link>
      <description>&lt;P&gt;Works fine for me: &lt;A href="https://imgur.com/a/ew8Io7c"&gt;https://imgur.com/a/ew8Io7c&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Can  you share a screenshot of the search giving no results?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 12:41:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410526#M118460</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-11-26T12:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me with the following regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410527#M118461</link>
      <description>&lt;P&gt;This looks like a different question to be asked.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 14:32:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410527#M118461</guid>
      <dc:creator>efavreau</dc:creator>
      <dc:date>2018-11-26T14:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me with the following regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410528#M118462</link>
      <description>&lt;P&gt;I had an extra trailing &lt;CODE&gt;f&lt;/CODE&gt; character (now deleted).  Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Your Search Here:
| rex field=EventData_Xml "(?ms)^(?&amp;lt;message&amp;gt;.*?)\s*:[\r\n\s]+ProgID\s+:\s+(?&amp;lt;ProgID&amp;gt;[^\r\n]+)"| table message ProgID
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 26 Nov 2018 16:11:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410528#M118462</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-11-26T16:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me with the following regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410529#M118463</link>
      <description>&lt;P&gt;Did this work @jip31?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 16:13:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410529#M118463</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-11-26T16:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me with the following regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410530#M118464</link>
      <description>&lt;P&gt;hi @jip31&lt;/P&gt;

&lt;P&gt;Did any of the answers below solve your problem? If so, please resolve this post by approving the one that helped you. If your problem is still not solved, keep us updated so that someone else can help. Thanks for posting!&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 21:48:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410530#M118464</guid>
      <dc:creator>mstjohn_splunk</dc:creator>
      <dc:date>2018-11-26T21:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Can you help me with the following regex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410531#M118465</link>
      <description>&lt;P&gt;yes thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2018 06:04:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-help-me-with-the-following-regex/m-p/410531#M118465</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2018-11-27T06:04:29Z</dc:date>
    </item>
  </channel>
</rss>

