<?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 help in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Regex-help/m-p/544878#M90883</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225125"&gt;@SS1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;You can use backslash before quotes to consider in regex like below-&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;source="teststatus"| rex max_match=100 field=_raw "Server\s\"(?P&amp;lt;jvm&amp;gt;.*)\"\s*cannot\sbe\s(?P&amp;lt;status&amp;gt;.*)"|table jvm,host&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this helps an upvaote will be appreciated!&lt;/P&gt;</description>
    <pubDate>Tue, 23 Mar 2021 06:04:21 GMT</pubDate>
    <dc:creator>493669</dc:creator>
    <dc:date>2021-03-23T06:04:21Z</dc:date>
    <item>
      <title>Regex help</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Regex-help/m-p/544875#M90882</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have the below event where i tried to extract field ServerA&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Event:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="t"&gt;ADMU0509I:&lt;/SPAN&gt; &lt;SPAN class="t"&gt;The&lt;/SPAN&gt; &lt;SPAN class="t"&gt;Application&lt;/SPAN&gt; &lt;SPAN class="t"&gt;Server&lt;/SPAN&gt;&lt;SPAN&gt; "&lt;/SPAN&gt;&lt;SPAN class="t"&gt;serverA&lt;/SPAN&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;SPAN class="t"&gt;cannot&lt;/SPAN&gt; &lt;SPAN class="t"&gt;be&lt;/SPAN&gt; &lt;SPAN class="t"&gt;reached.&lt;/SPAN&gt; &lt;SPAN class="t"&gt;It&lt;/SPAN&gt; &lt;SPAN class="t"&gt;appears&lt;/SPAN&gt; &lt;SPAN class="t"&gt;to&lt;/SPAN&gt; &lt;SPAN class="t"&gt;be&lt;/SPAN&gt; &lt;SPAN class="t"&gt;stopped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Query:&amp;nbsp;&lt;/STRONG&gt;source="teststatus"| rex max_match=100 field=_raw "Server\s"(?P&amp;lt;jvm&amp;gt;.*)"\s*cannot\sbe\s(?P&amp;lt;status&amp;gt;.*)"|table jvm,host&lt;/P&gt;&lt;P&gt;Output is showing as "serverA" instead of serverA. I dont want the double quotes, how do i achieve that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 05:46:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Regex-help/m-p/544875#M90882</guid>
      <dc:creator>SS1</dc:creator>
      <dc:date>2021-03-23T05:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Regex help</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Regex-help/m-p/544878#M90883</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225125"&gt;@SS1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;You can use backslash before quotes to consider in regex like below-&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;source="teststatus"| rex max_match=100 field=_raw "Server\s\"(?P&amp;lt;jvm&amp;gt;.*)\"\s*cannot\sbe\s(?P&amp;lt;status&amp;gt;.*)"|table jvm,host&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this helps an upvaote will be appreciated!&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 06:04:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Regex-help/m-p/544878#M90883</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2021-03-23T06:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Regex help</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Regex-help/m-p/544880#M90884</link>
      <description>&lt;P&gt;Thanks. This solution worked&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 06:23:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Regex-help/m-p/544880#M90884</guid>
      <dc:creator>SS1</dc:creator>
      <dc:date>2021-03-23T06:23:21Z</dc:date>
    </item>
  </channel>
</rss>

