<?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: Group events by mutiple fields in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Group-events-by-mutiple-fields/m-p/517308#M145467</link>
    <description>&lt;P&gt;Yes&lt;/P&gt;</description>
    <pubDate>Tue, 01 Sep 2020 17:16:31 GMT</pubDate>
    <dc:creator>DeXteR</dc:creator>
    <dc:date>2020-09-01T17:16:31Z</dc:date>
    <item>
      <title>Group events by mutiple fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Group-events-by-mutiple-fields/m-p/517261#M145435</link>
      <description>&lt;DIV class="votecell post-layout--left"&gt;&lt;DIV class="js-voting-container grid fd-column ai-stretch gs4 fc-black-200"&gt;&lt;P&gt;Hi I have some events in splunk which are of this form-&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Location&lt;/STRONG&gt;: some value(same value can be there in multiple events)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Client&lt;/STRONG&gt;: some value(same value can be there in multiple events)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TransactionNumber&lt;/STRONG&gt;: some value(Unique for each event)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Transaction Time&lt;/STRONG&gt;: some value(Unique for each event)&lt;/P&gt;&lt;P&gt;Now I want a table in this form -&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2020-09-01 at 8.22.58 PM.png" style="width: 966px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10587iC944CA1E4C3B9A68/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2020-09-01 at 8.22.58 PM.png" alt="Screenshot 2020-09-01 at 8.22.58 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Basically each location can have multiple clients and each client can have different transactions. Transaction number and transaction time are unique and have one to one mapping.&lt;/P&gt;&lt;P&gt;I am using this query in splunk-&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;| stats list(TransactionNumber) list(TransactionTime) by Location Client&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;What's happening is I am getting unique combination of location and client but what I want is unique clients to be listed against a particular Location.&lt;/P&gt;&lt;P&gt;This is what i am getting-&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2020-09-01 at 8.24.06 PM.png" style="width: 944px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10588i408BB25DC236F513/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2020-09-01 at 8.24.06 PM.png" alt="Screenshot 2020-09-01 at 8.24.06 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How can the query be modified to achieve the same?&lt;/P&gt;&lt;BR /&gt;&lt;DIV class="postcell post-layout--right"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 01 Sep 2020 14:56:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Group-events-by-mutiple-fields/m-p/517261#M145435</guid>
      <dc:creator>DeXteR</dc:creator>
      <dc:date>2020-09-01T14:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Group events by mutiple fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Group-events-by-mutiple-fields/m-p/517292#M145448</link>
      <description>&lt;P&gt;The only difference I see is the empty cells in the Location field.&amp;nbsp; Is there something else?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2020 15:52:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Group-events-by-mutiple-fields/m-p/517292#M145448</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-09-01T15:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Group events by mutiple fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Group-events-by-mutiple-fields/m-p/517308#M145467</link>
      <description>&lt;P&gt;Yes&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2020 17:16:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Group-events-by-mutiple-fields/m-p/517308#M145467</guid>
      <dc:creator>DeXteR</dc:creator>
      <dc:date>2020-09-01T17:16:31Z</dc:date>
    </item>
  </channel>
</rss>

