<?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: generate a graph where the x -axis represent number of times the ticket was assigned and Y-axis represent number of tickets in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/generate-a-graph-where-the-x-axis-represent-number-of-times-the/m-p/351848#M104141</link>
    <description>&lt;P&gt;Or this (will be efficient than using eventstats)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search | stats count by NumTimes by ticketId | stats count as Ticket_Numbers by NumTimes
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 13 Jun 2017 16:29:14 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2017-06-13T16:29:14Z</dc:date>
    <item>
      <title>generate a graph where the x -axis represent number of times the ticket was assigned and Y-axis represent number of tickets</title>
      <link>https://community.splunk.com/t5/Splunk-Search/generate-a-graph-where-the-x-axis-represent-number-of-times-the/m-p/351846#M104139</link>
      <description>&lt;P&gt;Hello all ,&lt;/P&gt;

&lt;P&gt;I need your help as i have list of tickets called "Tickets" and i would like to generate a graph where the x -axis represent number of times the ticket was assigned and Y-axis represent number of tickets &lt;BR /&gt;
for Ex :&lt;BR /&gt;
Tickets &lt;BR /&gt;
AB111&lt;BR /&gt;
AB111&lt;BR /&gt;
AB122&lt;BR /&gt;
AB910&lt;BR /&gt;
AB122&lt;/P&gt;

&lt;P&gt;so i would like to get the below results &lt;/P&gt;

&lt;P&gt;Number of times      Tickets_numbers&lt;BR /&gt;
1                                               1&lt;BR /&gt;
2                                               2&lt;BR /&gt;
3                                               0&lt;/P&gt;

&lt;P&gt;which illustrate that only one ticket was assigned one time however we had 2 tickets that was assigned two times and no tickets was assigned three times &lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 09:33:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/generate-a-graph-where-the-x-axis-represent-number-of-times-the/m-p/351846#M104139</guid>
      <dc:creator>wessam</dc:creator>
      <dc:date>2017-06-13T09:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: generate a graph where the x -axis represent number of times the ticket was assigned and Y-axis represent number of tickets</title>
      <link>https://community.splunk.com/t5/Splunk-Search/generate-a-graph-where-the-x-axis-represent-number-of-times-the/m-p/351847#M104140</link>
      <description>&lt;P&gt;this gave me similar results:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|makeresults|eval ticketId="AB111,AB111,AB122,AB910,AB122"|makemv ticketId delim=","|mvexpand ticketId|eventstats count by ticketId|stats dc(ticketId) by count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;so try something like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|eventstats count as NumTimes by ticketId|stats dc(ticketId) as Ticket_Numbers by NumTimes 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Jun 2017 15:48:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/generate-a-graph-where-the-x-axis-represent-number-of-times-the/m-p/351847#M104140</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2017-06-13T15:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: generate a graph where the x -axis represent number of times the ticket was assigned and Y-axis represent number of tickets</title>
      <link>https://community.splunk.com/t5/Splunk-Search/generate-a-graph-where-the-x-axis-represent-number-of-times-the/m-p/351848#M104141</link>
      <description>&lt;P&gt;Or this (will be efficient than using eventstats)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search | stats count by NumTimes by ticketId | stats count as Ticket_Numbers by NumTimes
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Jun 2017 16:29:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/generate-a-graph-where-the-x-axis-represent-number-of-times-the/m-p/351848#M104141</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-06-13T16:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: generate a graph where the x -axis represent number of times the ticket was assigned and Y-axis represent number of tickets</title>
      <link>https://community.splunk.com/t5/Splunk-Search/generate-a-graph-where-the-x-axis-represent-number-of-times-the/m-p/351849#M104142</link>
      <description>&lt;P&gt;edit:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|stats count as NumTimes by ticketId|stats count as Ticket_Numbers by NumTimes
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Jun 2017 17:46:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/generate-a-graph-where-the-x-axis-represent-number-of-times-the/m-p/351849#M104142</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2017-06-13T17:46:40Z</dc:date>
    </item>
  </channel>
</rss>

