<?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 Is there a list of unusable field names? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-list-of-unusable-field-names/m-p/399447#M169430</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; The question is not "how do I search for a field with the name of &lt;CODE&gt;tag&lt;/CODE&gt;", but "what other field name(s) behave like this"? &lt;/P&gt;

&lt;P&gt;We recently ran into this case:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;A user logged a message that included the text &lt;CODE&gt;tag="some stuff"&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;User tried to search by that field, but gets an error like &lt;CODE&gt;unable to find tag "some stuff"&lt;/CODE&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;&lt;CODE&gt;tag&lt;/CODE&gt; appears to be a reserved word, but I was unable to find a list of any other cases like this. It's unfortunate that the tags functionality (which isn't in use) uses the same syntax as field matching here.&lt;/P&gt;

&lt;P&gt;We'd like to add some code to warn on this kind of case, is there a list of all such keywords which, when searching &lt;CODE&gt;keyword=foo&lt;/CODE&gt;, would not actually match the field name &lt;CODE&gt;keyword&lt;/CODE&gt;?&lt;/P&gt;</description>
    <pubDate>Tue, 15 May 2018 18:36:58 GMT</pubDate>
    <dc:creator>krisreeves</dc:creator>
    <dc:date>2018-05-15T18:36:58Z</dc:date>
    <item>
      <title>Is there a list of unusable field names?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-list-of-unusable-field-names/m-p/399447#M169430</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; The question is not "how do I search for a field with the name of &lt;CODE&gt;tag&lt;/CODE&gt;", but "what other field name(s) behave like this"? &lt;/P&gt;

&lt;P&gt;We recently ran into this case:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;A user logged a message that included the text &lt;CODE&gt;tag="some stuff"&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;User tried to search by that field, but gets an error like &lt;CODE&gt;unable to find tag "some stuff"&lt;/CODE&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;&lt;CODE&gt;tag&lt;/CODE&gt; appears to be a reserved word, but I was unable to find a list of any other cases like this. It's unfortunate that the tags functionality (which isn't in use) uses the same syntax as field matching here.&lt;/P&gt;

&lt;P&gt;We'd like to add some code to warn on this kind of case, is there a list of all such keywords which, when searching &lt;CODE&gt;keyword=foo&lt;/CODE&gt;, would not actually match the field name &lt;CODE&gt;keyword&lt;/CODE&gt;?&lt;/P&gt;</description>
      <pubDate>Tue, 15 May 2018 18:36:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-list-of-unusable-field-names/m-p/399447#M169430</guid>
      <dc:creator>krisreeves</dc:creator>
      <dc:date>2018-05-15T18:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a list of unusable field names?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-list-of-unusable-field-names/m-p/399448#M169431</link>
      <description>&lt;P&gt;You can search by escaping the double quotation.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=XXX "tag=\"some stuff\""
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The following are used in the basic search part.&lt;BR /&gt;
※If there is a shortage, please someone supplement.&lt;/P&gt;

&lt;P&gt;Internal fields&lt;BR /&gt;
_raw, _time, _indextime, _cd&lt;/P&gt;

&lt;P&gt;Basic default fields&lt;BR /&gt;
host, index, linecount, punct, source, sourcetype, splunk_server, timestamp&lt;/P&gt;

&lt;P&gt;Default datetime fields&lt;BR /&gt;
date_hour, date_mday, date_minute, date_month, date_second, date_wday, date_year, date_zone&lt;/P&gt;

&lt;P&gt;etc&lt;BR /&gt;
tag,eventtype,earliest,latest&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:29:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-list-of-unusable-field-names/m-p/399448#M169431</guid>
      <dc:creator>HiroshiSatoh</dc:creator>
      <dc:date>2020-09-29T19:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a list of unusable field names?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-list-of-unusable-field-names/m-p/399449#M169432</link>
      <description>&lt;P&gt;@krisreeves for the data that you have ingested seems like there is &lt;CODE&gt;tag&lt;/CODE&gt; (and possibly &lt;CODE&gt;eventtype&lt;/CODE&gt;) created.&lt;BR /&gt;
You would need to create a &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/ExtractfieldsinteractivelywithIFX"&gt;Field Extraction&lt;/A&gt; to name the field something other than &lt;CODE&gt;tag&lt;/CODE&gt; like &lt;CODE&gt;Tag&lt;/CODE&gt; with uppercase &lt;CODE&gt;T&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 08:19:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-list-of-unusable-field-names/m-p/399449#M169432</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-05-16T08:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a list of unusable field names?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-list-of-unusable-field-names/m-p/399450#M169433</link>
      <description>&lt;P&gt;This is good to know! My question is, however, different: I'm looking to know which, if any, other field names behave like this so that we can avoid using them entirely&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 15:16:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-list-of-unusable-field-names/m-p/399450#M169433</guid>
      <dc:creator>krisreeves</dc:creator>
      <dc:date>2018-05-16T15:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a list of unusable field names?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-list-of-unusable-field-names/m-p/399451#M169434</link>
      <description>&lt;P&gt;So far, beyond the default fields listed here: &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.1.0/Data/Aboutdefaultfields"&gt;https://docs.splunk.com/Documentation/Splunk/7.1.0/Data/Aboutdefaultfields&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;There is &lt;CODE&gt;tag&lt;/CODE&gt; and &lt;CODE&gt;eventtype&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2018 23:30:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-list-of-unusable-field-names/m-p/399451#M169434</guid>
      <dc:creator>krisreeves</dc:creator>
      <dc:date>2018-05-17T23:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a list of unusable field names?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-list-of-unusable-field-names/m-p/399452#M169435</link>
      <description>&lt;P&gt;The following are used in the basic search part.&lt;BR /&gt;
※If there is a shortage, please someone supplement.&lt;/P&gt;

&lt;P&gt;Internal fields&lt;BR /&gt;
_raw, _time, _indextime, _cd&lt;/P&gt;

&lt;P&gt;Basic default fields&lt;BR /&gt;
host, index, linecount, punct, source, sourcetype, splunk_server, timestamp&lt;/P&gt;

&lt;P&gt;Default datetime fields&lt;BR /&gt;
date_hour, date_mday, date_minute, date_month, date_second, date_wday, date_year, date_zone&lt;/P&gt;

&lt;P&gt;etc&lt;BR /&gt;
tag,eventtype,earliest,latest&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:34:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-list-of-unusable-field-names/m-p/399452#M169435</guid>
      <dc:creator>HiroshiSatoh</dc:creator>
      <dc:date>2020-09-29T19:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a list of unusable field names?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-list-of-unusable-field-names/m-p/399453#M169436</link>
      <description>&lt;P&gt;Ah, of course -- I should have thought about earliest and latest &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; If you could edit this into your answer I'd like to accept this as the answer?&lt;/P&gt;</description>
      <pubDate>Fri, 18 May 2018 15:06:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-list-of-unusable-field-names/m-p/399453#M169436</guid>
      <dc:creator>krisreeves</dc:creator>
      <dc:date>2018-05-18T15:06:36Z</dc:date>
    </item>
  </channel>
</rss>

