<?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: some records are missing when I list by table; but when I query that specific event, I can find it. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/some-records-are-missing-when-I-list-by-table-but-when-I-query/m-p/369299#M161155</link>
    <description>&lt;P&gt;thanks for the reply. yes the "TradeEvent=NEW" was supposed to be in the 2nd search string. My bad I forgot to add it when I composed the dummy search string.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=foo TradeEvent=NEW TradeDate="2017-05-04" TradeID=123456
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 09 May 2017 13:27:57 GMT</pubDate>
    <dc:creator>leonjxtan</dc:creator>
    <dc:date>2017-05-09T13:27:57Z</dc:date>
    <item>
      <title>some records are missing when I list by table; but when I query that specific event, I can find it.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/some-records-are-missing-when-I-list-by-table-but-when-I-query/m-p/369296#M161152</link>
      <description>&lt;P&gt;I have a trade message sourcetype in JSON, which I properly set up in props.conf and can query fine.&lt;/P&gt;

&lt;P&gt;To do a reconciliation with my trade DB, in order to ensure all trade messages are fed to Splunk, I ran below query to extract all tradeID for May 4th:&lt;BR /&gt;
    sourcetype=foo |TradeEvent=NEW TradeDate="2017-05-04" &lt;BR /&gt;
    |table TradeID&lt;/P&gt;

&lt;P&gt;Say from above table list, I found TradeID 123456 is missing. But if I search by:&lt;BR /&gt;
    sourcetype=foo TradeDate="2017-05-04" TradeID=123456&lt;BR /&gt;
The event shows up!&lt;/P&gt;

&lt;P&gt;I tried to check any setting was wrong. The sampling setting is set as "No Event Sampling"; time range is set as all time, etc. everything looks fine.&lt;/P&gt;

&lt;P&gt;Could you help for my purpose of recon?&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2017 06:53:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/some-records-are-missing-when-I-list-by-table-but-when-I-query/m-p/369296#M161152</guid>
      <dc:creator>leonjxtan</dc:creator>
      <dc:date>2017-05-09T06:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: some records are missing when I list by table; but when I query that specific event, I can find it.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/some-records-are-missing-when-I-list-by-table-but-when-I-query/m-p/369297#M161153</link>
      <description>&lt;P&gt;to add, the data size is 5 million events for "all time"&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2017 07:15:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/some-records-are-missing-when-I-list-by-table-but-when-I-query/m-p/369297#M161153</guid>
      <dc:creator>leonjxtan</dc:creator>
      <dc:date>2017-05-09T07:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: some records are missing when I list by table; but when I query that specific event, I can find it.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/some-records-are-missing-when-I-list-by-table-but-when-I-query/m-p/369298#M161154</link>
      <description>&lt;P&gt;is the pipe before TradeEvent=NEW is part of the search?&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2017 12:37:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/some-records-are-missing-when-I-list-by-table-but-when-I-query/m-p/369298#M161154</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-05-09T12:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: some records are missing when I list by table; but when I query that specific event, I can find it.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/some-records-are-missing-when-I-list-by-table-but-when-I-query/m-p/369299#M161155</link>
      <description>&lt;P&gt;thanks for the reply. yes the "TradeEvent=NEW" was supposed to be in the 2nd search string. My bad I forgot to add it when I composed the dummy search string.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=foo TradeEvent=NEW TradeDate="2017-05-04" TradeID=123456
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 May 2017 13:27:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/some-records-are-missing-when-I-list-by-table-but-when-I-query/m-p/369299#M161155</guid>
      <dc:creator>leonjxtan</dc:creator>
      <dc:date>2017-05-09T13:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: some records are missing when I list by table; but when I query that specific event, I can find it.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/some-records-are-missing-when-I-list-by-table-but-when-I-query/m-p/369300#M161156</link>
      <description>&lt;P&gt;try to run this search and see if you get the TradeID=123456 event&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  sourcetype = foo TradeEvent=NEW | fields TradeDate TradeID
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;also, which mode are you searching in? verbose, smart or fast?&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2017 13:34:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/some-records-are-missing-when-I-list-by-table-but-when-I-query/m-p/369300#M161156</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-05-09T13:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: some records are missing when I list by table; but when I query that specific event, I can find it.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/some-records-are-missing-when-I-list-by-table-but-when-I-query/m-p/369301#M161157</link>
      <description>&lt;P&gt;I'm on smart mode. &lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2017 13:49:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/some-records-are-missing-when-I-list-by-table-but-when-I-query/m-p/369301#M161157</guid>
      <dc:creator>leonjxtan</dc:creator>
      <dc:date>2017-05-09T13:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: some records are missing when I list by table; but when I query that specific event, I can find it.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/some-records-are-missing-when-I-list-by-table-but-when-I-query/m-p/369302#M161158</link>
      <description>&lt;P&gt;just add to your search &lt;CODE&gt;TradeId=*&lt;/CODE&gt; and that will tell splunk you want that field from all events&lt;BR /&gt;
verify your results are correct&lt;BR /&gt;
read here more about search modes:&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/6.5.1612/Search/Changethesearchmode"&gt;https://docs.splunk.com/Documentation/SplunkCloud/6.5.1612/Search/Changethesearchmode&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2017 13:52:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/some-records-are-missing-when-I-list-by-table-but-when-I-query/m-p/369302#M161158</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-05-09T13:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: some records are missing when I list by table; but when I query that specific event, I can find it.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/some-records-are-missing-when-I-list-by-table-but-when-I-query/m-p/369303#M161159</link>
      <description>&lt;P&gt;1 - Give this search a try : &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; sourcetype=foo TradeEvent=NEW TradeDate="2017-05-04" | search TradeID=* |table TradeID
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you see TradeID=123456 then to resolve the issue add those lines to your fields.conf : &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[TradeID] 
INDEXED_VALUE= False
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If this doesn't work, can you tell me if the value 123456 comes from the raw log or it's populated by an object knowledge (lookup, etc...) ? &lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2017 14:30:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/some-records-are-missing-when-I-list-by-table-but-when-I-query/m-p/369303#M161159</guid>
      <dc:creator>3no</dc:creator>
      <dc:date>2017-05-09T14:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: some records are missing when I list by table; but when I query that specific event, I can find it.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/some-records-are-missing-when-I-list-by-table-but-when-I-query/m-p/369304#M161160</link>
      <description>&lt;P&gt;Hi I found more detailed symptom now.&lt;BR /&gt;
If instead I specify the TradeID field, but rather search like below&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=foo 123456
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The event shows up!&lt;BR /&gt;
I check the event on GUI, and found that the GUI displays the event text (the log is in JSON format) as raw text, instead of showing as "syntax highlighted", and only SOME, but not other fields like TradeEvent and TradeID in the JSON log are listed under the log text.&lt;/P&gt;

&lt;P&gt;I double checked and pasted the log text into JSONLint, and it is a valid JSON message.&lt;/P&gt;

&lt;P&gt;Why does Splunk not index this message like other JSON event messages in my sourcetype?&lt;/P&gt;

&lt;P&gt;p.s. to your question, yes the TradeID is in _raw log, and not a lookup field. The full spath is TradeEventObject.TradeID&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2017 07:10:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/some-records-are-missing-when-I-list-by-table-but-when-I-query/m-p/369304#M161160</guid>
      <dc:creator>leonjxtan</dc:creator>
      <dc:date>2017-05-10T07:10:57Z</dc:date>
    </item>
  </channel>
</rss>

