<?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 fetch relevant data from the different log lines based on a unique ID ? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-fetch-relevant-data-from-the-different-log-lines-based-on/m-p/530791#M149946</link>
    <description>&lt;LI-CODE lang="markup"&gt;index=_internal | head 1 | fields _raw
| eval _raw="Time=DDMMY ID=001 INFO Requester=Bob
Time=DDMMY ID=001 INFO Request Type=Normal
Time=DDMMYY ID=001 INFO Request Status=success"
| multikv noheader=t 
| table _raw
| rex "(?&amp;lt;comment&amp;gt;(?# the logic))"
| kv
| stats last(Time) as Time values(Requester) as Requester values(Type) as  Request_Type values(Status) as Request_Status by ID&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 25 Nov 2020 11:00:45 GMT</pubDate>
    <dc:creator>to4kawa</dc:creator>
    <dc:date>2020-11-25T11:00:45Z</dc:date>
    <item>
      <title>How to fetch relevant data from the different log lines based on a unique ID ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-fetch-relevant-data-from-the-different-log-lines-based-on/m-p/530788#M149945</link>
      <description>&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;I need to fetch some data based on a unique ID from the different log lines can you please help me with the search query.&lt;/P&gt;&lt;P&gt;Example for relevant logs with unique ID will be:&lt;/P&gt;&lt;P&gt;Time=DDMMY ID=001 INFO Requester=Bob&lt;/P&gt;&lt;P&gt;Time=DDMMY ID=001 INFO Request Type=Normal&lt;/P&gt;&lt;P&gt;Time=DDMMYY ID=001 INFO Request Status=success&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, need them in this format&lt;/P&gt;&lt;P&gt;Time&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ID&amp;nbsp; &amp;nbsp;Requester&amp;nbsp;Request Type&amp;nbsp;Request Status&lt;/P&gt;&lt;P&gt;DDMMYY&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 001&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Bob&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Normal&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Success&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please Help. Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 10:13:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-fetch-relevant-data-from-the-different-log-lines-based-on/m-p/530788#M149945</guid>
      <dc:creator>2chs</dc:creator>
      <dc:date>2020-11-25T10:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to fetch relevant data from the different log lines based on a unique ID ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-fetch-relevant-data-from-the-different-log-lines-based-on/m-p/530791#M149946</link>
      <description>&lt;LI-CODE lang="markup"&gt;index=_internal | head 1 | fields _raw
| eval _raw="Time=DDMMY ID=001 INFO Requester=Bob
Time=DDMMY ID=001 INFO Request Type=Normal
Time=DDMMYY ID=001 INFO Request Status=success"
| multikv noheader=t 
| table _raw
| rex "(?&amp;lt;comment&amp;gt;(?# the logic))"
| kv
| stats last(Time) as Time values(Requester) as Requester values(Type) as  Request_Type values(Status) as Request_Status by ID&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 25 Nov 2020 11:00:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-fetch-relevant-data-from-the-different-log-lines-based-on/m-p/530791#M149946</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-11-25T11:00:45Z</dc:date>
    </item>
  </channel>
</rss>

