<?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: how to match new lines in splunk in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-match-new-lines-in-splunk/m-p/293267#M88527</link>
    <description>&lt;P&gt;Give this a try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search | rex "name=(?&amp;lt;YourField&amp;gt;(.+[\r\n]+)falu="
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 09 Feb 2017 22:45:34 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2017-02-09T22:45:34Z</dc:date>
    <item>
      <title>how to match new lines in splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-match-new-lines-in-splunk/m-p/293266#M88526</link>
      <description>&lt;P&gt;I have a event as below&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;nam=this is org name;&lt;BR /&gt;
-this is hyta name;&lt;BR /&gt;
-this is hju name;&lt;/STRONG&gt;&lt;BR /&gt;
falu= this is gao name&lt;/P&gt;

&lt;P&gt;I need to match multiple lines. until the line "falu=". May I know how to match multiple lines.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 22:33:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-match-new-lines-in-splunk/m-p/293266#M88526</guid>
      <dc:creator>ankithreddy777</dc:creator>
      <dc:date>2017-02-09T22:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to match new lines in splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-match-new-lines-in-splunk/m-p/293267#M88527</link>
      <description>&lt;P&gt;Give this a try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search | rex "name=(?&amp;lt;YourField&amp;gt;(.+[\r\n]+)falu="
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Feb 2017 22:45:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-match-new-lines-in-splunk/m-p/293267#M88527</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-02-09T22:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to match new lines in splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-match-new-lines-in-splunk/m-p/293268#M88528</link>
      <description>&lt;P&gt;You need to specify &lt;CODE&gt;multiline&lt;/CODE&gt; like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Your Base Search | rex "(?ms)name=(?&amp;lt;YourField&amp;gt;(.+)[\r\n]+falu="
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 18 Feb 2017 22:56:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-match-new-lines-in-splunk/m-p/293268#M88528</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-02-18T22:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to match new lines in splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-match-new-lines-in-splunk/m-p/293269#M88529</link>
      <description>&lt;P&gt;@ankithreddy777 - Did one of the answers below help provide a solution your question? If yes, please click “Accept” below the best answer to resolve this post and upvote anything that was helpful. If no, please leave a comment with more feedback. Thanks.&lt;/P&gt;</description>
      <pubDate>Sun, 12 Mar 2017 21:26:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-match-new-lines-in-splunk/m-p/293269#M88529</guid>
      <dc:creator>aaraneta_splunk</dc:creator>
      <dc:date>2017-03-12T21:26:30Z</dc:date>
    </item>
  </channel>
</rss>

