<?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: How to check missing fields and not generating 100 percentage in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-check-missing-fields-and-not-generating-100-percentage/m-p/534715#M151107</link>
    <description>&lt;P&gt;It's normal for a field to be present in some events and not in others.&amp;nbsp; The only fields we can be sure will have 100% coverage are _time, index, source, sourcetype, and host.&lt;/P&gt;&lt;P&gt;If you have a certain field that is supposed to be in all events, but if not then try this query to find the events that are missing it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=foo sourcetype=bar NOT field=*&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The rex command extracts fields, but won't tell you which fields are in all events.&lt;/P&gt;&lt;P&gt;The regex command can filter out events that are missing certain fields.&amp;nbsp; That's not much different from the query above, however.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| regex field!=".*"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I'm not aware of any REST command that returns field information.&lt;/P&gt;&lt;P&gt;If you're trying to test the CIM compliance of your data then try the CIM Validator app at&amp;nbsp;&lt;A href="https://splunkbase.splunk.com/app/2968/" target="_blank" rel="noopener"&gt;https://splunkbase.splunk.com/app/2968/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Jan 2021 15:05:32 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2021-01-15T15:05:32Z</dc:date>
    <item>
      <title>How to check missing fields and not generating 100 percentage</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-check-missing-fields-and-not-generating-100-percentage/m-p/534680#M151097</link>
      <description>&lt;P&gt;index="*" sourcetype="*" and I have field name with tag and it's generating 80% of events , how can I check why it's not generating 100% of events and where it's missing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also , Is there any regex / resi api / rex query to get what are all the fields generating 100% events , and if it's &amp;lt;100% whe&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 11:55:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-check-missing-fields-and-not-generating-100-percentage/m-p/534680#M151097</guid>
      <dc:creator>sasankganta</dc:creator>
      <dc:date>2021-01-04T11:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to check missing fields and not generating 100 percentage</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-check-missing-fields-and-not-generating-100-percentage/m-p/534715#M151107</link>
      <description>&lt;P&gt;It's normal for a field to be present in some events and not in others.&amp;nbsp; The only fields we can be sure will have 100% coverage are _time, index, source, sourcetype, and host.&lt;/P&gt;&lt;P&gt;If you have a certain field that is supposed to be in all events, but if not then try this query to find the events that are missing it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=foo sourcetype=bar NOT field=*&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The rex command extracts fields, but won't tell you which fields are in all events.&lt;/P&gt;&lt;P&gt;The regex command can filter out events that are missing certain fields.&amp;nbsp; That's not much different from the query above, however.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| regex field!=".*"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I'm not aware of any REST command that returns field information.&lt;/P&gt;&lt;P&gt;If you're trying to test the CIM compliance of your data then try the CIM Validator app at&amp;nbsp;&lt;A href="https://splunkbase.splunk.com/app/2968/" target="_blank" rel="noopener"&gt;https://splunkbase.splunk.com/app/2968/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 15:05:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-check-missing-fields-and-not-generating-100-percentage/m-p/534715#M151107</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-01-15T15:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to check missing fields and not generating 100 percentage</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-check-missing-fields-and-not-generating-100-percentage/m-p/536014#M151527</link>
      <description>&lt;P&gt;Thank you Mate for the documents. Yes for CIM validation, but don't have git in environment let me check possible ways. If you have any other suggestions will be grateful .&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 14:39:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-check-missing-fields-and-not-generating-100-percentage/m-p/536014#M151527</guid>
      <dc:creator>sasankganta</dc:creator>
      <dc:date>2021-01-15T14:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to check missing fields and not generating 100 percentage</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-check-missing-fields-and-not-generating-100-percentage/m-p/536022#M151532</link>
      <description>&lt;P&gt;You don't need git.&amp;nbsp; Just download the app from github and install it on Splunk.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 15:17:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-check-missing-fields-and-not-generating-100-percentage/m-p/536022#M151532</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-01-15T15:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to check missing fields and not generating 100 percentage</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-check-missing-fields-and-not-generating-100-percentage/m-p/536024#M151534</link>
      <description>&lt;P&gt;Also one more, Index=A sourcetype=B and I can see under fields category filed "C" with count of 10k+ values ..&lt;/P&gt;&lt;P&gt;But if I search with&amp;nbsp;&amp;nbsp;Index=A sourcetype=B category=C , It is showing No results found tried in all the search modes didn't worked. source tcp:9997 . Can you please suggest what can be the issue.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 15:27:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-check-missing-fields-and-not-generating-100-percentage/m-p/536024#M151534</guid>
      <dc:creator>sasankganta</dc:creator>
      <dc:date>2021-01-15T15:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to check missing fields and not generating 100 percentage</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-check-missing-fields-and-not-generating-100-percentage/m-p/536029#M151538</link>
      <description>&lt;P&gt;I don't have an answer.&amp;nbsp; Sorry.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 15:49:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-check-missing-fields-and-not-generating-100-percentage/m-p/536029#M151538</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-01-15T15:49:06Z</dc:date>
    </item>
  </channel>
</rss>

