<?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: What is the difference between chart &amp;quot;over&amp;quot; and &amp;quot;by&amp;quot;? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-chart-quot-over-quot-and-quot-by/m-p/189034#M54469</link>
    <description>&lt;P&gt;Going to mark your response as the answer as I'm also pretty sure that the difference is purely cosmetic.&lt;/P&gt;

&lt;P&gt;It would be nice if we could get a Splunk developer on here to verify. Maybe post the source code; just kidding &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 20 Aug 2014 21:31:06 GMT</pubDate>
    <dc:creator>sudotliu</dc:creator>
    <dc:date>2014-08-20T21:31:06Z</dc:date>
    <item>
      <title>What is the difference between chart "over" and "by"?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-chart-quot-over-quot-and-quot-by/m-p/189028#M54463</link>
      <description>&lt;P&gt;I know there is a syntax difference between:&lt;BR /&gt;&lt;BR /&gt;
&lt;STRONG&gt;sourcetype=blah | chart count over foo by bar&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;
and&lt;BR /&gt;&lt;BR /&gt;
&lt;STRONG&gt;sourcetype=blah | chart count by foo, bar&lt;/STRONG&gt;&lt;BR /&gt;&lt;/P&gt;

&lt;P&gt;But what's the difference, if any?&lt;/P&gt;

&lt;P&gt;Comparing the performance and request sections of the job inspection for those queries reveals a difference of a couple milliseconds on a sample dataset.&lt;/P&gt;

&lt;P&gt;Are they actually different under the hood or is "over X by Y" just another way of saying "by X, Y"?&lt;/P&gt;

&lt;P&gt;On a related note, where is the best place to look to see what a job is actually doing?&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;Update&lt;/EM&gt;: added the count keyword in the search - miscopied that.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2014 17:42:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-chart-quot-over-quot-and-quot-by/m-p/189028#M54463</guid>
      <dc:creator>sudotliu</dc:creator>
      <dc:date>2014-08-20T17:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between chart "over" and "by"?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-chart-quot-over-quot-and-quot-by/m-p/189029#M54464</link>
      <description>&lt;P&gt;As per my understanding:&lt;/P&gt;

&lt;P&gt;Generally &lt;CODE&gt;over&lt;/CODE&gt; is chosen to determine which field should take axes.&lt;/P&gt;

&lt;P&gt;Lets take an example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal earliest=-10m@m latest=-2m@m | chart count over source by sourcetype
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;for this search, if i choose my visualization as Column/line/area(stacked mode on) the X axis remains constant that is source. If i choose visualization as bar then my Y axis is source.&lt;/P&gt;

&lt;P&gt;Simply Put: Over is used to fix a field and split that field further by other dimensions.&lt;/P&gt;

&lt;P&gt;by field1, field2 also works in similar manner...&lt;/P&gt;

&lt;P&gt;I would be more than happy to know the real differences &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2014 18:41:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-chart-quot-over-quot-and-quot-by/m-p/189029#M54464</guid>
      <dc:creator>strive</dc:creator>
      <dc:date>2014-08-20T18:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between chart "over" and "by"?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-chart-quot-over-quot-and-quot-by/m-p/189030#M54465</link>
      <description>&lt;P&gt;Thanks for the answer, strive. &lt;/P&gt;

&lt;P&gt;I'm not sure if the data I'm using is causing any differences but going along with your example, have you tried the following search?&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;index=_internal earliest=-10m@m latest=-2m@m | chart count by source, sourcetype&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Does that not show you the same visualizations when all other settings are the same? My queries are showing the same exact information for me.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2014 18:59:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-chart-quot-over-quot-and-quot-by/m-p/189030#M54465</guid>
      <dc:creator>sudotliu</dc:creator>
      <dc:date>2014-08-20T18:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between chart "over" and "by"?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-chart-quot-over-quot-and-quot-by/m-p/189031#M54466</link>
      <description>&lt;P&gt;Yes, definitely they stay the same, here the first field source acts as fixed field. I am also trying to find out the real differences &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2014 19:26:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-chart-quot-over-quot-and-quot-by/m-p/189031#M54466</guid>
      <dc:creator>strive</dc:creator>
      <dc:date>2014-08-20T19:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between chart "over" and "by"?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-chart-quot-over-quot-and-quot-by/m-p/189032#M54467</link>
      <description>&lt;P&gt;There is no real difference that I've seen so far, except maybe better readability: "&lt;STRONG&gt;chart&lt;/STRONG&gt; some statistic &lt;STRONG&gt;over&lt;/STRONG&gt; the x-axis &lt;STRONG&gt;field&lt;/STRONG&gt; and group &lt;STRONG&gt;by&lt;/STRONG&gt; some other &lt;STRONG&gt;field&lt;/STRONG&gt;"&lt;/P&gt;

&lt;P&gt;That's a matter of personal taste though.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2014 20:42:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-chart-quot-over-quot-and-quot-by/m-p/189032#M54467</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-08-20T20:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between chart "over" and "by"?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-chart-quot-over-quot-and-quot-by/m-p/189033#M54468</link>
      <description>&lt;P&gt;No difference between the two.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;chart something OVER a BY b&lt;/CODE&gt;&lt;BR /&gt;
and&lt;BR /&gt;
&lt;CODE&gt;chart something BY a b&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;a will be the vertical column, and b the horizontal columns.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2014 21:10:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-chart-quot-over-quot-and-quot-by/m-p/189033#M54468</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2014-08-20T21:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between chart "over" and "by"?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-chart-quot-over-quot-and-quot-by/m-p/189034#M54469</link>
      <description>&lt;P&gt;Going to mark your response as the answer as I'm also pretty sure that the difference is purely cosmetic.&lt;/P&gt;

&lt;P&gt;It would be nice if we could get a Splunk developer on here to verify. Maybe post the source code; just kidding &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2014 21:31:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-chart-quot-over-quot-and-quot-by/m-p/189034#M54469</guid>
      <dc:creator>sudotliu</dc:creator>
      <dc:date>2014-08-20T21:31:06Z</dc:date>
    </item>
  </channel>
</rss>

