<?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 Query Modification in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Query-Modification/m-p/131405#M35846</link>
    <description>&lt;P&gt;I have a search that tables project name, the group it belongs to, and the total count of  deployment types:&lt;/P&gt;

&lt;P&gt;index=eis_continuous_integration sourcetype=eisci &lt;BR /&gt;
|search Group="EG"&lt;BR /&gt;
| bucket span=1d _time as Date&lt;BR /&gt;
| eval Date = strftime(Date, "%m/%d/%Y") &lt;BR /&gt;
| stats count as total_deployment_count by SRCProject, Group&lt;/P&gt;

&lt;P&gt;It's a nice table and all, but I'd like to create a column chart that displays the different project names on the x-axis, the group it belongs to on the left hand side (not just "Group", but "EG", etc.), and the total deployment count as the y-axis.&lt;/P&gt;

&lt;P&gt;How can I modify this search so I get these results in a dashboard panel?&lt;/P&gt;

&lt;P&gt;Thank You&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 15:46:19 GMT</pubDate>
    <dc:creator>_gkollias</dc:creator>
    <dc:date>2020-09-28T15:46:19Z</dc:date>
    <item>
      <title>Query Modification</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Query-Modification/m-p/131405#M35846</link>
      <description>&lt;P&gt;I have a search that tables project name, the group it belongs to, and the total count of  deployment types:&lt;/P&gt;

&lt;P&gt;index=eis_continuous_integration sourcetype=eisci &lt;BR /&gt;
|search Group="EG"&lt;BR /&gt;
| bucket span=1d _time as Date&lt;BR /&gt;
| eval Date = strftime(Date, "%m/%d/%Y") &lt;BR /&gt;
| stats count as total_deployment_count by SRCProject, Group&lt;/P&gt;

&lt;P&gt;It's a nice table and all, but I'd like to create a column chart that displays the different project names on the x-axis, the group it belongs to on the left hand side (not just "Group", but "EG", etc.), and the total deployment count as the y-axis.&lt;/P&gt;

&lt;P&gt;How can I modify this search so I get these results in a dashboard panel?&lt;/P&gt;

&lt;P&gt;Thank You&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:46:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Query-Modification/m-p/131405#M35846</guid>
      <dc:creator>_gkollias</dc:creator>
      <dc:date>2020-09-28T15:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Query Modification</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Query-Modification/m-p/131406#M35847</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Your query looks a bit odd. The &lt;CODE&gt;search Group="EG"&lt;/CODE&gt; condition could be moved to before the first pipe. You do some calculations on time/date, but never use them...&lt;/P&gt;

&lt;P&gt;Without having any sample data, it's bit hard to see what you want to do, but perhaps you are looking for something like this;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=eis_continuous_integration sourcetype=eisci
| chart count as total_deployment_count over SRCProject by Group
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;/K&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2014 16:26:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Query-Modification/m-p/131406#M35847</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2014-01-30T16:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Query Modification</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Query-Modification/m-p/131407#M35848</link>
      <description>&lt;P&gt;Thanks for pointing that out.  I used a search I previously  used and never removed it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;

&lt;P&gt;That search helped, I really appreciate it!&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2014 16:33:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Query-Modification/m-p/131407#M35848</guid>
      <dc:creator>_gkollias</dc:creator>
      <dc:date>2014-01-30T16:33:49Z</dc:date>
    </item>
  </channel>
</rss>

