<?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: Multiline field search: How to print multiple events? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Multiline-field-search-How-to-print-multiple-events/m-p/604983#M210406</link>
    <description>&lt;P&gt;thank you&amp;nbsp; max_match command did the trick.&lt;/P&gt;&lt;P&gt;will be very useful in future.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Fri, 08 Jul 2022 17:24:00 GMT</pubDate>
    <dc:creator>jimish</dc:creator>
    <dc:date>2022-07-08T17:24:00Z</dc:date>
    <item>
      <title>Multiline field search: How to print multiple events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiline-field-search-How-to-print-multiple-events/m-p/604970#M210400</link>
      <description>&lt;P&gt;In logs there are multiple lines printed like below&amp;nbsp; and I want to print all of them in a table but my search query only prints one value , need help to print multiple records&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Balance amount is zero for invoice id:20220402-126-12300-A&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Balance amount is zero for invoice id:20220502-126-12300-B&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Balance amount is zero for invoice id:20220602-126-12300-C&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Need to print like : 20220704-126-77300-A,&amp;nbsp;20220404-126-77300-A ,&amp;nbsp;20220704-126-77300-A&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;query I am trying :&amp;nbsp;rex field=_raw "Balance amount is zero for invoice id:(?P&amp;lt;InvoiceExceptionNo&amp;gt;\S+)"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 16:18:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiline-field-search-How-to-print-multiple-events/m-p/604970#M210400</guid>
      <dc:creator>jimish</dc:creator>
      <dc:date>2022-07-08T16:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Multiline field search: How to print multiple events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiline-field-search-How-to-print-multiple-events/m-p/604980#M210403</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/244700"&gt;@jimish&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Please try using the "max_match" command on the rex definition. Like this one:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex max_match=0 field=_raw "Balance amount is zero for invoice id:(?P&amp;lt;InvoiceExceptionNo&amp;gt;\S+)"
| table InvoiceExceptionNo&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 08 Jul 2022 17:15:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiline-field-search-How-to-print-multiple-events/m-p/604980#M210403</guid>
      <dc:creator>danielcj</dc:creator>
      <dc:date>2022-07-08T17:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Multiline field search: How to print multiple events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Multiline-field-search-How-to-print-multiple-events/m-p/604983#M210406</link>
      <description>&lt;P&gt;thank you&amp;nbsp; max_match command did the trick.&lt;/P&gt;&lt;P&gt;will be very useful in future.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 17:24:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Multiline-field-search-How-to-print-multiple-events/m-p/604983#M210406</guid>
      <dc:creator>jimish</dc:creator>
      <dc:date>2022-07-08T17:24:00Z</dc:date>
    </item>
  </channel>
</rss>

