<?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: Pie chart using 2 inputlookup files in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Pie-chart-using-2-inputlookup-files/m-p/578035#M201446</link>
    <description>&lt;P&gt;What are you trying to show with your pie charts because the inputlookup and stats command in each of the appendcols will only return one event each so a pie chart of each series will have 100%&lt;/P&gt;</description>
    <pubDate>Fri, 10 Dec 2021 15:47:19 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2021-12-10T15:47:19Z</dc:date>
    <item>
      <title>Pie chart using 2 inputlookup files</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Pie-chart-using-2-inputlookup-files/m-p/578025#M201439</link>
      <description>&lt;P&gt;Aloha,&amp;nbsp;&lt;/P&gt;&lt;P&gt;We’ve a reporting requirement to create a Pie chart using 2 input files.&amp;nbsp; So far we’ve successfully created Bar charts with inputlookup files.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Could you please advise the best way to create a Pie chart using 2 inputlookup files?&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 14:50:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Pie-chart-using-2-inputlookup-files/m-p/578025#M201439</guid>
      <dc:creator>marceloalejandr</dc:creator>
      <dc:date>2021-12-10T14:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Pie chart using 2 inputlookup files</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Pie-chart-using-2-inputlookup-files/m-p/578028#M201441</link>
      <description>&lt;P&gt;The number of inputs is irrelevant.&amp;nbsp; A pie chart just needs a single data series produced using something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| stats count by foo&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 10 Dec 2021 15:02:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Pie-chart-using-2-inputlookup-files/m-p/578028#M201441</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-12-10T15:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: Pie chart using 2 inputlookup files</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Pie-chart-using-2-inputlookup-files/m-p/578029#M201442</link>
      <description>&lt;P&gt;There is a trellis option on pie charts so you can have multiple data series with each pie chart showing one of the series.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| stats count by foo bar
| xyseries foo bar count&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 10 Dec 2021 15:10:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Pie-chart-using-2-inputlookup-files/m-p/578029#M201442</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-12-10T15:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Pie chart using 2 inputlookup files</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Pie-chart-using-2-inputlookup-files/m-p/578031#M201443</link>
      <description>&lt;P&gt;Rich,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks for your message.&amp;nbsp; Currently we're able to show separate Bar charts for 2 inputlookup files.&amp;nbsp; &amp;nbsp;Here's a sample of the SPL:&lt;BR /&gt;| inputlookup blank.csv&lt;BR /&gt;| appendcols [| inputlookup ServiceAccountsInOU.csv | stats count AS "Service Accounts in OU" ]&lt;BR /&gt;| appendcols [| inputlookup ServiceAccountsNotInOU.csv | stats count AS "Service Accounts NOT in OU"]&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;How would we implement your suggestion?&amp;nbsp; &amp;nbsp;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 15:18:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Pie-chart-using-2-inputlookup-files/m-p/578031#M201443</guid>
      <dc:creator>marceloalejandr</dc:creator>
      <dc:date>2021-12-10T15:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Pie chart using 2 inputlookup files</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Pie-chart-using-2-inputlookup-files/m-p/578032#M201444</link>
      <description>&lt;P&gt;Both inputlookup files have one and the same field name (sAMAccountName) containing user accounts.&amp;nbsp; What's the inputlookup SPL to reference both files?&amp;nbsp; Thanks again.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 15:33:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Pie-chart-using-2-inputlookup-files/m-p/578032#M201444</guid>
      <dc:creator>marceloalejandr</dc:creator>
      <dc:date>2021-12-10T15:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Pie chart using 2 inputlookup files</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Pie-chart-using-2-inputlookup-files/m-p/578033#M201445</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Both inputlookup files have one and the same field name (sAMAccountName) containing user accounts.&amp;nbsp; What's the inputlookup SPL to reference both files?&amp;nbsp; &amp;nbsp;Thanks again.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 15:40:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Pie-chart-using-2-inputlookup-files/m-p/578033#M201445</guid>
      <dc:creator>marceloalejandr</dc:creator>
      <dc:date>2021-12-10T15:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Pie chart using 2 inputlookup files</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Pie-chart-using-2-inputlookup-files/m-p/578035#M201446</link>
      <description>&lt;P&gt;What are you trying to show with your pie charts because the inputlookup and stats command in each of the appendcols will only return one event each so a pie chart of each series will have 100%&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 15:47:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Pie-chart-using-2-inputlookup-files/m-p/578035#M201446</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-12-10T15:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Pie chart using 2 inputlookup files</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Pie-chart-using-2-inputlookup-files/m-p/578036#M201447</link>
      <description>&lt;P&gt;Each file contains a number of users and each file will have a count.&amp;nbsp; The Pie chart should include the total count of both files and then the percentages of each file's count against the total.&amp;nbsp; &amp;nbsp; How do we combine the files to get the total and then show the percentage of each file's count against the total?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 16:06:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Pie-chart-using-2-inputlookup-files/m-p/578036#M201447</guid>
      <dc:creator>marceloalejandr</dc:creator>
      <dc:date>2021-12-10T16:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: Pie chart using 2 inputlookup files</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Pie-chart-using-2-inputlookup-files/m-p/578040#M201450</link>
      <description>&lt;P&gt;A pie chart requires a single data series, whereas the current query has two.&amp;nbsp; The pie chart will display the first series (field) as 100%.&lt;/P&gt;&lt;P&gt;Here's an alternative query that should work:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup ServiceAccountsInOU.csv | eval state="Service Accounts in OU"
| append [| inputlookup ServiceAccountsNotInOU.csv | eval state="Service Accounts NOT in OU"]
| stats count by state&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 10 Dec 2021 16:15:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Pie-chart-using-2-inputlookup-files/m-p/578040#M201450</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-12-10T16:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Pie chart using 2 inputlookup files</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Pie-chart-using-2-inputlookup-files/m-p/578042#M201452</link>
      <description>&lt;P&gt;That's awesome!&amp;nbsp; Thanks!!!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 16:26:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Pie-chart-using-2-inputlookup-files/m-p/578042#M201452</guid>
      <dc:creator>marceloalejandr</dc:creator>
      <dc:date>2021-12-10T16:26:20Z</dc:date>
    </item>
  </channel>
</rss>

