<?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: Data Model or Pivot dedup in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/Data-Model-or-Pivot-dedup/m-p/443504#M6392</link>
    <description>&lt;P&gt;you can use tstats , say something like &lt;CODE&gt;| tstats count(Providers) count(hostname) from datamodel="your_dm_name" groupby dm_name.month&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;change as per your field names&lt;/P&gt;</description>
    <pubDate>Tue, 19 Mar 2019 12:09:50 GMT</pubDate>
    <dc:creator>lakshman239</dc:creator>
    <dc:date>2019-03-19T12:09:50Z</dc:date>
    <item>
      <title>Data Model or Pivot dedup</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Data-Model-or-Pivot-dedup/m-p/443501#M6389</link>
      <description>&lt;P&gt;I generated a Data Model and accelerated it. The data consists of Months (Jan, Feb, etc), Suppliers(A, B,C), Machines (hostnames) and the final output has to be a stacked barchart displaying count of Providers events on our Machines per Months.&lt;/P&gt;

&lt;P&gt;The issue is that I only have to count a maximum of 1 event per Machine in a month. When I only searched directly, a simple "| dedup Month Provider Hostname" solved the problem but now, as the data model must be accelerated, I cannot use dedup.  Also, I cannot find how to use dedup in the barchart search generated by Pivot UI.&lt;/P&gt;

&lt;P&gt;Could somebody please point me a direction regarding a dedup alternative for DataModels or Pivot searches?&lt;BR /&gt;
Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 14:38:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Data-Model-or-Pivot-dedup/m-p/443501#M6389</guid>
      <dc:creator>romansul</dc:creator>
      <dc:date>2019-03-18T14:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Data Model or Pivot dedup</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Data-Model-or-Pivot-dedup/m-p/443502#M6390</link>
      <description>&lt;P&gt;You could use | from datamodel:"your_dm_name" | stats count(Providers)  count(hostname) by month  and change as needed.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:45:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Data-Model-or-Pivot-dedup/m-p/443502#M6390</guid>
      <dc:creator>lakshman239</dc:creator>
      <dc:date>2020-09-29T23:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Data Model or Pivot dedup</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Data-Model-or-Pivot-dedup/m-p/443503#M6391</link>
      <description>&lt;P&gt;Thanks for the reply. If i use "datamodel" i've noticed that it will load the data very slow, as it will not use the accelerated version. Is there a way of specifying to use the accelerated data? &lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 08:03:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Data-Model-or-Pivot-dedup/m-p/443503#M6391</guid>
      <dc:creator>romansul</dc:creator>
      <dc:date>2019-03-19T08:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Data Model or Pivot dedup</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Data-Model-or-Pivot-dedup/m-p/443504#M6392</link>
      <description>&lt;P&gt;you can use tstats , say something like &lt;CODE&gt;| tstats count(Providers) count(hostname) from datamodel="your_dm_name" groupby dm_name.month&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;change as per your field names&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 12:09:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Data-Model-or-Pivot-dedup/m-p/443504#M6392</guid>
      <dc:creator>lakshman239</dc:creator>
      <dc:date>2019-03-19T12:09:50Z</dc:date>
    </item>
  </channel>
</rss>

