<?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: Grouping by two fields the rest fields are missing in Other Usage</title>
    <link>https://community.splunk.com/t5/Other-Usage/Grouping-by-two-fields-the-rest-fields-are-missing/m-p/584249#M1523</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/242896"&gt;@Kubousky&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;could you share the full search?&lt;/P&gt;&lt;P&gt;maybe the problem is before stats command, because using&amp;nbsp;&lt;SPAN&gt;"| stats values(*) by&amp;nbsp;policy_id client_rol", you should have all the fields.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;only for precision, use:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| stats values(*) AS * BY policy_id client_rol&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Wed, 09 Feb 2022 10:16:57 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2022-02-09T10:16:57Z</dc:date>
    <item>
      <title>Grouping by two fields the rest fields are missing</title>
      <link>https://community.splunk.com/t5/Other-Usage/Grouping-by-two-fields-the-rest-fields-are-missing/m-p/584243#M1522</link>
      <description>&lt;P&gt;I try to group by 2 fields: &lt;STRONG&gt;policy_id&lt;/STRONG&gt; and &lt;STRONG&gt;client_rol&lt;/STRONG&gt; but "| stats values(*) by&amp;nbsp;policy_id client_rol " then the rest of fields´ values are missing.&lt;/P&gt;&lt;P&gt;Having following table ...&lt;/P&gt;&lt;P&gt;policy_id client_rol client_id client_city&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;001&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;TO&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;X0001&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;LONDON&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;001&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;AS&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;X0001&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;001&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;TO&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;X0001&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;LONDON&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;001&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;AS&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;X0001&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The result I would like to get is:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;policy_id client_rol client_id client_city&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="43.2917px"&gt;&amp;nbsp;001&amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;TD width="40px"&gt;&amp;nbsp;TO&amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;TD width="59.5px"&gt;&amp;nbsp;X0001&amp;nbsp;&lt;/TD&gt;&lt;TD width="76px"&gt;&amp;nbsp;LONDON&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="43.2917px"&gt;&amp;nbsp;001&lt;/TD&gt;&lt;TD width="40px"&gt;&amp;nbsp;AS&lt;/TD&gt;&lt;TD width="59.5px"&gt;&amp;nbsp;X0001&amp;nbsp;&lt;/TD&gt;&lt;TD width="76px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any clue guys?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 09:56:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/Grouping-by-two-fields-the-rest-fields-are-missing/m-p/584243#M1522</guid>
      <dc:creator>Kubousky</dc:creator>
      <dc:date>2022-02-09T09:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping by two fields the rest fields are missing</title>
      <link>https://community.splunk.com/t5/Other-Usage/Grouping-by-two-fields-the-rest-fields-are-missing/m-p/584249#M1523</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/242896"&gt;@Kubousky&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;could you share the full search?&lt;/P&gt;&lt;P&gt;maybe the problem is before stats command, because using&amp;nbsp;&lt;SPAN&gt;"| stats values(*) by&amp;nbsp;policy_id client_rol", you should have all the fields.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;only for precision, use:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| stats values(*) AS * BY policy_id client_rol&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 10:16:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/Grouping-by-two-fields-the-rest-fields-are-missing/m-p/584249#M1523</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-02-09T10:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping by two fields the rest fields are missing</title>
      <link>https://community.splunk.com/t5/Other-Usage/Grouping-by-two-fields-the-rest-fields-are-missing/m-p/584320#M1524</link>
      <description>&lt;P&gt;that was it. thank u&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 15:25:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/Grouping-by-two-fields-the-rest-fields-are-missing/m-p/584320#M1524</guid>
      <dc:creator>Kubousky</dc:creator>
      <dc:date>2022-02-09T15:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping by two fields the rest fields are missing</title>
      <link>https://community.splunk.com/t5/Other-Usage/Grouping-by-two-fields-the-rest-fields-are-missing/m-p/584325#M1525</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/242896"&gt;@Kubousky&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;BR /&gt;Ciao and happy splunking.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 15:32:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/Grouping-by-two-fields-the-rest-fields-are-missing/m-p/584325#M1525</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-02-09T15:32:22Z</dc:date>
    </item>
  </channel>
</rss>

