<?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 show all message from certain log via rex? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-all-message-from-certain-log-via-rex/m-p/541887#M153454</link>
    <description>&lt;P&gt;oops.. late reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Mar 2021 07:55:27 GMT</pubDate>
    <dc:creator>kamlesh_vaghela</dc:creator>
    <dc:date>2021-03-02T07:55:27Z</dc:date>
    <item>
      <title>How to show all message from certain log via rex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-all-message-from-certain-log-via-rex/m-p/541883#M153450</link>
      <description>&lt;P&gt;Hi dear Splunkers,&lt;/P&gt;&lt;P&gt;i have log like this :&lt;/P&gt;&lt;P&gt;&lt;SPAN class="t"&gt;2021-02-11&lt;/SPAN&gt; &lt;SPAN class="t"&gt;14:47:51.167&lt;/SPAN&gt; [&lt;SPAN class="t"&gt;Error&lt;/SPAN&gt;] ** &lt;SPAN class="t"&gt;Dummy&lt;/SPAN&gt; &lt;SPAN class="t"&gt;User&lt;/SPAN&gt; &lt;SPAN class="t"&gt;with&lt;/SPAN&gt; &lt;SPAN class="t"&gt;dummyNumb:1111&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="t"&gt;Plate:AAAAA&lt;/SPAN&gt; &lt;SPAN class="t"&gt;Country:Dummy&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="t"&gt;paid&lt;/SPAN&gt;&amp;nbsp;dummy&amp;nbsp;&lt;SPAN class="t"&gt;on&lt;/SPAN&gt; &lt;SPAN class="t"&gt;DunnoOrder:2222222&lt;/SPAN&gt;, &lt;SPAN class="t"&gt;but&lt;/SPAN&gt; &lt;SPAN class="t"&gt;Dum&lt;/SPAN&gt; &lt;SPAN class="t"&gt;sz:&lt;/SPAN&gt; &lt;SPAN class="t"&gt;erere:45454545&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="t"&gt;not&lt;/SPAN&gt; &lt;SPAN class="t"&gt;dispensed&lt;/SPAN&gt; &lt;SPAN class="t"&gt;for&lt;/SPAN&gt; &lt;SPAN class="t"&gt;Carouserl_Error&lt;/SPAN&gt; !!!&lt;/P&gt;&lt;P&gt;And i would like to display everything after&amp;nbsp;[&lt;SPAN class="t"&gt;Error&lt;/SPAN&gt;] **.&lt;/P&gt;&lt;P&gt;I tried like this but i got error:&lt;/P&gt;&lt;P&gt;| rex "\[Error\]\s**\s(?&amp;lt;message&amp;gt;)"&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 07:47:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-show-all-message-from-certain-log-via-rex/m-p/541883#M153450</guid>
      <dc:creator>ivana27</dc:creator>
      <dc:date>2021-03-02T07:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to show all message from certain log via rex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-all-message-from-certain-log-via-rex/m-p/541885#M153452</link>
      <description>&lt;LI-CODE lang="markup"&gt;| rex "\[Error\]\s\*\*\s(?&amp;lt;message&amp;gt;.*)"&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 02 Mar 2021 07:52:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-show-all-message-from-certain-log-via-rex/m-p/541885#M153452</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-03-02T07:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to show all message from certain log via rex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-all-message-from-certain-log-via-rex/m-p/541886#M153453</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/230051"&gt;@ivana27&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please try this?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "\[Error\]\s\*\*\s(?&amp;lt;message&amp;gt;.*)"&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;Sample Search:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults 
| eval _raw="2021-02-11 14:47:51.167 [Error] ** Dummy User with dummyNumb:1111 Plate:AAAAA Country:Dummy paid dummy on DunnoOrder:2222222, but Dum sz: erere:45454545 not dispensed for Carouserl_Error !!!" 
| rex "\[Error\]\s\*\*\s(?&amp;lt;message&amp;gt;.*)"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 07:54:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-show-all-message-from-certain-log-via-rex/m-p/541886#M153453</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2021-03-02T07:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to show all message from certain log via rex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-all-message-from-certain-log-via-rex/m-p/541887#M153454</link>
      <description>&lt;P&gt;oops.. late reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 07:55:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-show-all-message-from-certain-log-via-rex/m-p/541887#M153454</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2021-03-02T07:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to show all message from certain log via rex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-all-message-from-certain-log-via-rex/m-p/541898#M153459</link>
      <description>&lt;P&gt;Thank you in any case &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Do you know how to put messages from Error one after another and not in horizontal view?&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/127939"&gt;@kamlesh_vaghela&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 08:13:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-show-all-message-from-certain-log-via-rex/m-p/541898#M153459</guid>
      <dc:creator>ivana27</dc:creator>
      <dc:date>2021-03-02T08:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to show all message from certain log via rex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-all-message-from-certain-log-via-rex/m-p/541901#M153461</link>
      <description>Can you please share your expected sample output. So I can help you..</description>
      <pubDate>Tue, 02 Mar 2021 08:19:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-show-all-message-from-certain-log-via-rex/m-p/541901#M153461</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2021-03-02T08:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to show all message from certain log via rex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-all-message-from-certain-log-via-rex/m-p/541903#M153463</link>
      <description>&lt;P&gt;What delimits the parts of the message you want to separate?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 08:22:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-show-all-message-from-certain-log-via-rex/m-p/541903#M153463</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-03-02T08:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to show all message from certain log via rex?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-all-message-from-certain-log-via-rex/m-p/541910#M153467</link>
      <description>&lt;P&gt;Should be split by _time of log, should look like this&lt;/P&gt;&lt;P&gt;2021-02-12 00:35:20.820&amp;nbsp; [Error] ## sample1 bla bla bla&lt;BR /&gt;2021-02-12 00:35:20.836&amp;nbsp; [Information] sample2 bla bla bla&lt;BR /&gt;2021-02-12 00:35:30.731 [Information] sample3 bla bla bla&lt;BR /&gt;2021-02-12 00:35:31.429 [Information] sample4 bla bla bla&lt;BR /&gt;2021-02-12 00:35:31.506 [Error] ## sample5 bla bla bla&lt;BR /&gt;2021-02-12 00:35:31.519 [Error] ** sample6 bla bla bla&lt;/P&gt;&lt;P&gt;And now i have search like this which displays in same row:&lt;/P&gt;&lt;P&gt;index=pkg_prespvm host IN (*)&lt;BR /&gt;| dedup _raw&lt;BR /&gt;| transaction host startswith="[Information] STEP = Dummy" endswith="[Information] -- START TRANSACTION --"&lt;BR /&gt;| rex field=_raw "plate:(?&amp;lt;info&amp;gt;[^,]+)"&lt;BR /&gt;| rex "\[Error\]\s\*\*\s(?&amp;lt;message&amp;gt;.*)"&lt;BR /&gt;| rex "\[Error\]\s\##\sGet\sDuuno\sTransaction\s(?&amp;lt;tranok&amp;gt;.*)"&lt;BR /&gt;| rex "\[Error\]\s\CustNum:\s(?&amp;lt;customer&amp;gt;.*)"&lt;BR /&gt;| search "Get Transaction NOK --&amp;gt; Payment:OK"&lt;BR /&gt;| stats count by host _time tranok message customer info&lt;BR /&gt;| table _time host customer tranok message info&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 08:34:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-show-all-message-from-certain-log-via-rex/m-p/541910#M153467</guid>
      <dc:creator>ivana27</dc:creator>
      <dc:date>2021-03-02T08:34:54Z</dc:date>
    </item>
  </channel>
</rss>

