<?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 Regex to ignore [\r][\n] in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Regex-to-ignore-r-n/m-p/90156#M23125</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;

&lt;P&gt;I have been trying to remove the below line which is a big part of one of the logs. Been trying with many regex types in transforms.conf but it doesn't recognize it when I a put in "[\r][\n]".&lt;/P&gt;

&lt;P&gt;DEBUG - wire &amp;lt;&amp;lt; "[\r][\n]"&lt;/P&gt;

&lt;P&gt;I have tried many options like &lt;BR /&gt;
"[\\r][\\n]"&lt;BR /&gt;
"[\\r][\\n]\"&lt;BR /&gt;
etc but still no luck.&lt;/P&gt;

&lt;P&gt;Can anyone help me out with this.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jul 2013 00:33:35 GMT</pubDate>
    <dc:creator>saad_siddiqi</dc:creator>
    <dc:date>2013-07-10T00:33:35Z</dc:date>
    <item>
      <title>Regex to ignore [\r][\n]</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-to-ignore-r-n/m-p/90156#M23125</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;

&lt;P&gt;I have been trying to remove the below line which is a big part of one of the logs. Been trying with many regex types in transforms.conf but it doesn't recognize it when I a put in "[\r][\n]".&lt;/P&gt;

&lt;P&gt;DEBUG - wire &amp;lt;&amp;lt; "[\r][\n]"&lt;/P&gt;

&lt;P&gt;I have tried many options like &lt;BR /&gt;
"[\\r][\\n]"&lt;BR /&gt;
"[\\r][\\n]\"&lt;BR /&gt;
etc but still no luck.&lt;/P&gt;

&lt;P&gt;Can anyone help me out with this.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2013 00:33:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-to-ignore-r-n/m-p/90156#M23125</guid>
      <dc:creator>saad_siddiqi</dc:creator>
      <dc:date>2013-07-10T00:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Regex to ignore [\r][\n]</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-to-ignore-r-n/m-p/90157#M23126</link>
      <description>&lt;P&gt;try &lt;CODE&gt;\[\\r\]\[\\n\]&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;You must escape not only the backslashes but also the square brackets.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2013 01:47:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-to-ignore-r-n/m-p/90157#M23126</guid>
      <dc:creator>sbrant_splunk</dc:creator>
      <dc:date>2013-07-10T01:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Regex to ignore [\r][\n]</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-to-ignore-r-n/m-p/90158#M23127</link>
      <description>&lt;P&gt;BTW, this will match [\r][\n] but you mention "ignoring" the pattern.  Do you mean that you've collected the data and you want to ignore those lines in your search results or do you mean that you'd like to not index the lines that contain that pattern?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2013 01:56:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-to-ignore-r-n/m-p/90158#M23127</guid>
      <dc:creator>sbrant_splunk</dc:creator>
      <dc:date>2013-07-10T01:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: Regex to ignore [\r][\n]</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-to-ignore-r-n/m-p/90159#M23128</link>
      <description>&lt;P&gt;That did the trick... Cheers mate!&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2013 02:12:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-to-ignore-r-n/m-p/90159#M23128</guid>
      <dc:creator>saad_siddiqi</dc:creator>
      <dc:date>2013-07-10T02:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Regex to ignore [\r][\n]</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-to-ignore-r-n/m-p/90160#M23129</link>
      <description>&lt;P&gt;Yeah, I wanted not to index the lines DEBUG - wire &amp;lt;&amp;lt; "[\r][\n]"&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2013 02:13:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-to-ignore-r-n/m-p/90160#M23129</guid>
      <dc:creator>saad_siddiqi</dc:creator>
      <dc:date>2013-07-10T02:13:55Z</dc:date>
    </item>
  </channel>
</rss>

