<?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: piechart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/piechart/m-p/529116#M149388</link>
    <description>&lt;P&gt;In what way didn't it work? No result? Incorrect results? host missing?&lt;/P&gt;&lt;P&gt;Are these event similar, just in different indexes? Can you use:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;search index=index1 OR index=index2
host=*
source=*logs* username
sourcetype=* | rex "user\":\"(?&amp;lt;user&amp;gt;[^\"]+)" | stats count by user&lt;/LI-CODE&gt;&lt;P&gt;or&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| stats values(index) as index count by user&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;or&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| stats count by user index&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 12 Nov 2020 10:36:11 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2020-11-12T10:36:11Z</dc:date>
    <item>
      <title>piechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/piechart/m-p/529105#M149383</link>
      <description>&lt;P&gt;I want to create two pie chart each based upon the value of index I am choosing. using below two queries&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. index = index1 host=.......| ...&lt;/P&gt;&lt;P&gt;2. index=index2 host=....|&lt;/P&gt;&lt;P&gt;then i want to include both of these pie charts into the same report so that I can send them as alert in the same mail. How can I do that ? tried append and multi search but didnt help.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 09:38:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/piechart/m-p/529105#M149383</guid>
      <dc:creator>avneet26</dc:creator>
      <dc:date>2020-11-12T09:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: piechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/piechart/m-p/529111#M149385</link>
      <description>&lt;P&gt;Can you be a bit more specific about what you tried and why it didn't work? Append and multiple searches sound like they would normally solve the problem, so without further information, it is difficult to advise.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 10:04:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/piechart/m-p/529111#M149385</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-11-12T10:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: piechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/piechart/m-p/529114#M149386</link>
      <description>&lt;P&gt;search index= index1&lt;BR /&gt;host=*&lt;BR /&gt;source=*logs* username&lt;BR /&gt;sourcetype=* | rex "user\":\"(?&amp;lt;user&amp;gt;[^\"]+)" | stats count by user] |&lt;BR /&gt;append [search index= index2&lt;BR /&gt;host=*&lt;BR /&gt;source=*logs* user&lt;BR /&gt;sourcetype=* | rex "user\":\"(?&amp;lt;user&amp;gt;[^\"]+)" | stats count by user]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this didnt work for me&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 10:27:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/piechart/m-p/529114#M149386</guid>
      <dc:creator>avneet26</dc:creator>
      <dc:date>2020-11-12T10:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: piechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/piechart/m-p/529116#M149388</link>
      <description>&lt;P&gt;In what way didn't it work? No result? Incorrect results? host missing?&lt;/P&gt;&lt;P&gt;Are these event similar, just in different indexes? Can you use:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;search index=index1 OR index=index2
host=*
source=*logs* username
sourcetype=* | rex "user\":\"(?&amp;lt;user&amp;gt;[^\"]+)" | stats count by user&lt;/LI-CODE&gt;&lt;P&gt;or&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| stats values(index) as index count by user&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;or&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| stats count by user index&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 12 Nov 2020 10:36:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/piechart/m-p/529116#M149388</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-11-12T10:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: piechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/piechart/m-p/529118#M149389</link>
      <description>&lt;P&gt;it didnt give any results. my concern is how can I generate two different pie charts using these two searches and those two pie charts should be different based on index values(one for index1 other for index2)&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 10:40:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/piechart/m-p/529118#M149389</guid>
      <dc:creator>avneet26</dc:creator>
      <dc:date>2020-11-12T10:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: piechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/piechart/m-p/529119#M149390</link>
      <description>&lt;P&gt;Sorry, I misunderstood, I thought you were trying to use two indexes in the same chart. The chart is &lt;U&gt;a&lt;/U&gt; visualisation of the results of &lt;U&gt;a&lt;/U&gt; query. I don't think there is a standard pie chart visualisation that produces multiple charts. Perhaps you should submit this as an improvement request.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 10:48:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/piechart/m-p/529119#M149390</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-11-12T10:48:25Z</dc:date>
    </item>
  </channel>
</rss>

