<?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 Are function names case-sensitive? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Are-function-names-case-sensitive/m-p/358936#M165916</link>
    <description>&lt;P&gt;The following query did not return any results:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | stats count(EVAL(error_code=2000)) ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I had to use &lt;STRONG&gt;lower-case&lt;/STRONG&gt; &lt;CODE&gt;eval&lt;/CODE&gt; to make it work.&lt;/P&gt;

&lt;P&gt;Is it a general rule or a specific case?&lt;/P&gt;</description>
    <pubDate>Tue, 26 Sep 2017 15:49:21 GMT</pubDate>
    <dc:creator>pm771</dc:creator>
    <dc:date>2017-09-26T15:49:21Z</dc:date>
    <item>
      <title>Are function names case-sensitive?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Are-function-names-case-sensitive/m-p/358936#M165916</link>
      <description>&lt;P&gt;The following query did not return any results:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | stats count(EVAL(error_code=2000)) ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I had to use &lt;STRONG&gt;lower-case&lt;/STRONG&gt; &lt;CODE&gt;eval&lt;/CODE&gt; to make it work.&lt;/P&gt;

&lt;P&gt;Is it a general rule or a specific case?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2017 15:49:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Are-function-names-case-sensitive/m-p/358936#M165916</guid>
      <dc:creator>pm771</dc:creator>
      <dc:date>2017-09-26T15:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Are function names case-sensitive?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Are-function-names-case-sensitive/m-p/358937#M165917</link>
      <description>&lt;P&gt;hmm this is a fantastic question - I tried with my own test data , and you are right.&lt;BR /&gt;
HOWEVER, i could not find any splunk documentation that explicitly points this out.&lt;BR /&gt;
Maybe @lfedak_splunk  can shed some more light on this?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2017 18:33:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Are-function-names-case-sensitive/m-p/358937#M165917</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2017-09-26T18:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: Are function names case-sensitive?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Are-function-names-case-sensitive/m-p/358938#M165918</link>
      <description>&lt;P&gt;Hey @pm771 and @sukisen1981, check out the answers and comments on this post: &lt;A href="https://answers.splunk.com/answers/46/are-search-language-keywords-case-sensitive.html"&gt;https://answers.splunk.com/answers/46/are-search-language-keywords-case-sensitive.html&lt;/A&gt; for some more info.&lt;BR /&gt;
The free Splunk Fundamentals 1 course also runs through the basics of what is case-sensitive and case-insensitive if you'd like to drill that in. Based on these comments it looks like anything related to stats has to be lowercase at all times. &lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2017 18:40:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Are-function-names-case-sensitive/m-p/358938#M165918</guid>
      <dc:creator>lfedak_splunk</dc:creator>
      <dc:date>2017-09-26T18:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Are function names case-sensitive?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Are-function-names-case-sensitive/m-p/358939#M165919</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/53575"&gt;@lfedak_splunk&lt;/a&gt;  - thanks for the link. Just to add a bit more. if I do something like&lt;BR /&gt;
| eval x= .... vs  EVAL X=....&lt;BR /&gt;
results are same &lt;BR /&gt;
BUT&lt;BR /&gt;
if I combine it with stats then the upper case EVAL does not work.&lt;BR /&gt;
So, I guess what &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/53575"&gt;@lfedak_splunk&lt;/a&gt; says, 'Based on these comments it looks like anything related to stats has to be lowercase at all times.' is the correct answer&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:57:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Are-function-names-case-sensitive/m-p/358939#M165919</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2020-09-29T15:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: Are function names case-sensitive?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Are-function-names-case-sensitive/m-p/358940#M165920</link>
      <description>&lt;P&gt;@lfedak_splunk: &lt;/P&gt;

&lt;P&gt;Is it just &lt;CODE&gt;stats&lt;/CODE&gt; or &lt;CODE&gt;timechart&lt;/CODE&gt; as well?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 13:10:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Are-function-names-case-sensitive/m-p/358940#M165920</guid>
      <dc:creator>pm771</dc:creator>
      <dc:date>2017-09-27T13:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: Are function names case-sensitive?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Are-function-names-case-sensitive/m-p/358941#M165921</link>
      <description>&lt;P&gt;@pm771 - all those other verbs are effectively just skins for &lt;CODE&gt;stats&lt;/CODE&gt; - &lt;CODE&gt;chart&lt;/CODE&gt;, &lt;CODE&gt;timechart&lt;/CODE&gt;, &lt;CODE&gt;eventstats&lt;/CODE&gt; and so on.  But, regardless, it's best to stick to lower case for verbs and functions, and upper case for Boolean operators.  Home grown functions and macros, use the case you wrote them in.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 15:04:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Are-function-names-case-sensitive/m-p/358941#M165921</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-09-27T15:04:58Z</dc:date>
    </item>
  </channel>
</rss>

