<?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 kind of syntax is limit and span? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/What-kind-of-syntax-is-limit-and-span/m-p/302808#M160248</link>
    <description>&lt;P&gt;Syntax highlighting was introduced in version 6.5 and has been enhanced in 6.6 (theme and editing)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Syntax component                           Color    Example
Commands                                   Blue  ...timechart
Command arguments                         Green ...timechart usenull=false
Functions                                 Pink   ...timechart count
Keyword modifiers and Boolean operators Orange   ...timechart count BY productName
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Search/Parsingsearches#Color_codes"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Search/Parsingsearches#Color_codes&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jul 2017 09:01:34 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2017-07-11T09:01:34Z</dc:date>
    <item>
      <title>What kind of syntax is limit and span?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-kind-of-syntax-is-limit-and-span/m-p/302805#M160245</link>
      <description>&lt;P&gt;I noticed that limit and span always turn green. What kind of component are they?&lt;/P&gt;

&lt;P&gt;For instance: blue is used for commands and orange for clauses&lt;/P&gt;

&lt;P&gt;Thanks in advanced!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 02:38:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-kind-of-syntax-is-limit-and-span/m-p/302805#M160245</guid>
      <dc:creator>cotyp</dc:creator>
      <dc:date>2017-07-11T02:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: What kind of syntax is limit and span?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-kind-of-syntax-is-limit-and-span/m-p/302806#M160246</link>
      <description>&lt;P&gt;Those are keyword parameters.  &lt;CODE&gt;max_match=&lt;/CODE&gt; in a &lt;CODE&gt;rex&lt;/CODE&gt;, &lt;CODE&gt;keepempty=&lt;/CODE&gt; in a &lt;CODE&gt;dedup&lt;/CODE&gt;,  and &lt;CODE&gt;count=&lt;/CODE&gt; in &lt;CODE&gt;makeresults&lt;/CODE&gt; should turn the same color. &lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;Update:  per niketnilay's post, splunk terminology appears to be &lt;EM&gt;argument&lt;/EM&gt;.&lt;/P&gt;

&lt;P&gt;Verify by checking &lt;CODE&gt;|sort fieldA desc&lt;/CODE&gt;.  If, as expected, &lt;CODE&gt;desc&lt;/CODE&gt; turns green, then &lt;STRONG&gt;all&lt;/STRONG&gt; arguments, not just keyword parameter arguments, are marked green.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 04:00:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-kind-of-syntax-is-limit-and-span/m-p/302806#M160246</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-07-11T04:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: What kind of syntax is limit and span?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-kind-of-syntax-is-limit-and-span/m-p/302807#M160247</link>
      <description>&lt;P&gt;I agree.  In the code behind the scenes (which you get into if you write your own custom spl commands) keywords are key value pairs (this=that) and options are non-key value pairs (I liken them to switches or arguments in command line).&lt;/P&gt;

&lt;P&gt;So in this example&lt;/P&gt;

&lt;P&gt;| rex mode=sed field=source "s/replacethis/withthis/g" &lt;/P&gt;

&lt;P&gt;The keywords are mode=sed &amp;amp; field=source and the option is the sed command.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 04:17:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-kind-of-syntax-is-limit-and-span/m-p/302807#M160247</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2017-07-11T04:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: What kind of syntax is limit and span?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-kind-of-syntax-is-limit-and-span/m-p/302808#M160248</link>
      <description>&lt;P&gt;Syntax highlighting was introduced in version 6.5 and has been enhanced in 6.6 (theme and editing)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Syntax component                           Color    Example
Commands                                   Blue  ...timechart
Command arguments                         Green ...timechart usenull=false
Functions                                 Pink   ...timechart count
Keyword modifiers and Boolean operators Orange   ...timechart count BY productName
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Search/Parsingsearches#Color_codes"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Search/Parsingsearches#Color_codes&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 09:01:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-kind-of-syntax-is-limit-and-span/m-p/302808#M160248</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-07-11T09:01:34Z</dc:date>
    </item>
  </channel>
</rss>

