<?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: Why is a search for fields added with _meta in inputs.conf not returning any results? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-is-a-search-for-fields-added-with-meta-in-inputs-conf-not/m-p/280749#M84733</link>
    <description>&lt;P&gt;Not only  if you deploy the fields.conf in an app but /etc/system/local as well. The field would show up in a search but as soon as you try to search for a specific field value it would return no results. I had to add the export = system if I was deploying it to /etc/system/local&lt;/P&gt;</description>
    <pubDate>Wed, 17 Oct 2018 15:14:42 GMT</pubDate>
    <dc:creator>matthewssa</dc:creator>
    <dc:date>2018-10-17T15:14:42Z</dc:date>
    <item>
      <title>Why is a search for fields added with _meta in inputs.conf not returning any results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-a-search-for-fields-added-with-meta-in-inputs-conf-not/m-p/280741#M84725</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;We added several fields with the _meta keyword in inputs.conf. When we search for the fields with "field::value" it is working, but when using "field=value" instead, there are no results.&lt;BR /&gt;
We already added the new fields in fields.conf with "INDEXED=true" and "INDEXED_VALUE = false" options on our Search Heads, or is it needed to adapt the fields.conf settings on the Indexers as well? &lt;/P&gt;

&lt;P&gt;Is there anything else to keep in mind?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Rainer&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 09:20:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-a-search-for-fields-added-with-meta-in-inputs-conf-not/m-p/280741#M84725</guid>
      <dc:creator>rainerzufall</dc:creator>
      <dc:date>2020-09-29T09:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Why is a search for fields added with _meta in inputs.conf not returning any results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-a-search-for-fields-added-with-meta-in-inputs-conf-not/m-p/280742#M84726</link>
      <description>&lt;P&gt;This syntax of field::value is for for a tag followed by a field name.&lt;/P&gt;

&lt;P&gt;It's interesting whether this tagging relates to your case -&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0.3/Knowledge/Tagthehostfield"&gt;http://docs.splunk.com/Documentation/Splunk/6.0.3/Knowledge/Tagthehostfield&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2016 15:43:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-a-search-for-fields-added-with-meta-in-inputs-conf-not/m-p/280742#M84726</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2016-04-11T15:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: Why is a search for fields added with _meta in inputs.conf not returning any results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-a-search-for-fields-added-with-meta-in-inputs-conf-not/m-p/280743#M84727</link>
      <description>&lt;P&gt;Hi rainerzufall,&lt;/P&gt;

&lt;P&gt;if your &lt;CODE&gt;inputs.conf&lt;/CODE&gt; looks like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor::/source_file]
_meta = foo::boo
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;your &lt;CODE&gt;fields.conf&lt;/CODE&gt; on the SH and IDX must look like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[foo]
INDEXED = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You then can search for it using this search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="IndexNameHere" source="/source_file" foo="boo"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If it still does not work, check the configs using &lt;CODE&gt;btool&lt;/CODE&gt; if they are applied correct and there is no over writing values happening because of &lt;CODE&gt;.conf&lt;/CODE&gt; file precedence.&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;

&lt;P&gt;PS: You only need to set &lt;CODE&gt;indexed_value&lt;/CODE&gt; if &lt;CODE&gt;indexed = false&lt;/CODE&gt; &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.0/admin/Fieldsconf"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.0/admin/Fieldsconf&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2016 20:51:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-a-search-for-fields-added-with-meta-in-inputs-conf-not/m-p/280743#M84727</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-04-11T20:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why is a search for fields added with _meta in inputs.conf not returning any results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-a-search-for-fields-added-with-meta-in-inputs-conf-not/m-p/280744#M84728</link>
      <description>&lt;P&gt;&lt;CODE&gt;field::value&lt;/CODE&gt; is an old way of searching for fields that currently means "this field is an indexed field, regardless of fields.conf".&lt;BR /&gt;
The tag search &lt;CODE&gt;tag::host=foo&lt;/CODE&gt; is entirely unrelated.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2016 21:07:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-a-search-for-fields-added-with-meta-in-inputs-conf-not/m-p/280744#M84728</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-04-11T21:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Why is a search for fields added with _meta in inputs.conf not returning any results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-a-search-for-fields-added-with-meta-in-inputs-conf-not/m-p/280745#M84729</link>
      <description>&lt;P&gt;Thanks - I'll add the fields config on the Indexer as well.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2016 18:10:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-a-search-for-fields-added-with-meta-in-inputs-conf-not/m-p/280745#M84729</guid>
      <dc:creator>rainerzufall</dc:creator>
      <dc:date>2016-04-12T18:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why is a search for fields added with _meta in inputs.conf not returning any results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-a-search-for-fields-added-with-meta-in-inputs-conf-not/m-p/280746#M84730</link>
      <description>&lt;P&gt;Hi @rainerzufall&lt;/P&gt;

&lt;P&gt;Glad you got some insight from @MuS &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; If his solution answered your question, don't forget to resolve the post by clicking "Accept" directly below his answer. This will make the solution easier to find for other users with the same issue. Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2016 23:42:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-a-search-for-fields-added-with-meta-in-inputs-conf-not/m-p/280746#M84730</guid>
      <dc:creator>ppablo</dc:creator>
      <dc:date>2016-04-12T23:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Why is a search for fields added with _meta in inputs.conf not returning any results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-a-search-for-fields-added-with-meta-in-inputs-conf-not/m-p/280747#M84731</link>
      <description>&lt;P&gt;after applying the fields.conf to the indexer configuration, everything is fine now, even for old events...&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 10:57:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-a-search-for-fields-added-with-meta-in-inputs-conf-not/m-p/280747#M84731</guid>
      <dc:creator>rainerzufall</dc:creator>
      <dc:date>2016-04-13T10:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Why is a search for fields added with _meta in inputs.conf not returning any results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-a-search-for-fields-added-with-meta-in-inputs-conf-not/m-p/280748#M84732</link>
      <description>&lt;P&gt;Since 6.6, the fields.conf is applied from the search head's configuration: &lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.6.0/Installation/Aboutupgradingto6.6READTHISFIRST#Indexers_in_a_distributed_Splunk_environment_now_respect_the_INDEXED_setting_in_fields.conf_on_search_heads_only"&gt;http://docs.splunk.com/Documentation/Splunk/6.6.0/Installation/Aboutupgradingto6.6READTHISFIRST#Indexers_in_a_distributed_Splunk_environment_now_respect_the_INDEXED_setting_in_fields.conf_on_search_heads_only&lt;/A&gt; &lt;/P&gt;

&lt;P&gt;If  you added it via an app (via a deployer or otherwise), &lt;BR /&gt;
you will need to export it to "system" if you want the setting to apply outside of the app: &lt;/P&gt;

&lt;P&gt;in etc/apps//metadata/default.meta add: &lt;BR /&gt;
[fields] &lt;BR /&gt;
export = system &lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2017 10:28:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-a-search-for-fields-added-with-meta-in-inputs-conf-not/m-p/280748#M84732</guid>
      <dc:creator>mhoogcarspel_sp</dc:creator>
      <dc:date>2017-08-23T10:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Why is a search for fields added with _meta in inputs.conf not returning any results?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-a-search-for-fields-added-with-meta-in-inputs-conf-not/m-p/280749#M84733</link>
      <description>&lt;P&gt;Not only  if you deploy the fields.conf in an app but /etc/system/local as well. The field would show up in a search but as soon as you try to search for a specific field value it would return no results. I had to add the export = system if I was deploying it to /etc/system/local&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 15:14:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-a-search-for-fields-added-with-meta-in-inputs-conf-not/m-p/280749#M84733</guid>
      <dc:creator>matthewssa</dc:creator>
      <dc:date>2018-10-17T15:14:42Z</dc:date>
    </item>
  </channel>
</rss>

