<?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: Intersect, Diff and Pie Chart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Intersect-Diff-and-Pie-Chart/m-p/199284#M57695</link>
    <description>&lt;P&gt;Try this &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|inputlookup AD1.csv | fields hostname | join type=left hostname [|inputlookup DC1.csv | fields hostname | eval hasDC="Y"] | eval hasDC=coalesce(hasDC,"N") | chart count(eval(hasDC="Y")) as HasDC, count(eval(hasDC="N")) as NoDC
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 09 Jan 2014 21:41:27 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2014-01-09T21:41:27Z</dc:date>
    <item>
      <title>Intersect, Diff and Pie Chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Intersect-Diff-and-Pie-Chart/m-p/199283#M57694</link>
      <description>&lt;P&gt;I have a very large number of win7 machines.  I pulled a CSV file from Active Directory, AD1.csv.  I then created another CSV file from the deployment clients DC1.csv.  What I want to do is compare the total number of clients with the number reporting in with deployment clients.  I want a Pie Chart that is the total number of Win7 machines split between a slice that is the machines with deployment clients and a slice that are the machines without a deployment client.&lt;/P&gt;

&lt;P&gt;I was experimenting with | set diff [inputlookup AD1.csv | fields hostname][inputlookup DC1.csv | fields hostname]    Where I am stumped is how to make that into a pie chart.  Any ideas?  Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2014 21:31:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Intersect-Diff-and-Pie-Chart/m-p/199283#M57694</guid>
      <dc:creator>belka</dc:creator>
      <dc:date>2014-01-09T21:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Intersect, Diff and Pie Chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Intersect-Diff-and-Pie-Chart/m-p/199284#M57695</link>
      <description>&lt;P&gt;Try this &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|inputlookup AD1.csv | fields hostname | join type=left hostname [|inputlookup DC1.csv | fields hostname | eval hasDC="Y"] | eval hasDC=coalesce(hasDC,"N") | chart count(eval(hasDC="Y")) as HasDC, count(eval(hasDC="N")) as NoDC
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Jan 2014 21:41:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Intersect-Diff-and-Pie-Chart/m-p/199284#M57695</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-01-09T21:41:27Z</dc:date>
    </item>
  </channel>
</rss>

