<?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: Splunk Search does not return all event data on a field in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Search-does-not-return-all-event-data-on-a-field/m-p/223790#M24649</link>
    <description>&lt;P&gt;I'm using the REST API app (&lt;A href="https://splunkbase.splunk.com/app/1546/"&gt;https://splunkbase.splunk.com/app/1546/&lt;/A&gt;)&lt;/P&gt;

&lt;P&gt;The event is showing all the data in splunk. Actually, if I do a search like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source="rest://PRIME_AccessPointDetailsAPI" | search "11.111.122.33"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Splunk will find that data, but if I do this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source="rest://PRIME_AccessPointDetailsAPI" | search queryResponse.entity{}.accessPointDetailsDTO.ipAddress="11.111.122.33"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I won't get any data back, unless the ipAddress value I use is on the list Splunk gives me on the field (second image)&lt;/P&gt;</description>
    <pubDate>Wed, 27 Apr 2016 15:03:22 GMT</pubDate>
    <dc:creator>mgarciar</dc:creator>
    <dc:date>2016-04-27T15:03:22Z</dc:date>
    <item>
      <title>Splunk Search does not return all event data on a field</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Search-does-not-return-all-event-data-on-a-field/m-p/223788#M24647</link>
      <description>&lt;P&gt;I'm facing a very strange issue in my Splunk search. I have a data input coming from a REST API that returns a multi-level (nested) JSON response:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="REST API Response"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/1292i8D615394C8D9EB40/image-size/large?v=v2&amp;amp;px=999" role="button" title="REST API Response" alt="REST API Response" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;The entity node has several nodes, each node represents one access point. Each access point contains a field called ipAddress. This API is being called every 5 min and response stored in Splunk. When I do a search to get the list of IP Addresses from one event I don't get all of them. For some reason, is like Splunk is reading only the first seven nodes inside entity, because when I do:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source="rest://AccessPointDetailsAPI" | head 1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Splunk shows only the following values on the field (&lt;STRONG&gt;7 values although there are around 27&lt;/STRONG&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Splunk Field data sample"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/1293iB996563187AED5B4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Splunk Field data sample" alt="Splunk Field data sample" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;I'm using demo license if that matters. Why I cannot see all values ? If I change my search to look for a specific iPAddress on the API response but that is not on the Splunk list of field values I get no records.&lt;/P&gt;

&lt;P&gt;It's like the search does not get all the values on the event for some fields.&lt;/P&gt;

&lt;P&gt;Thanks and regards,&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2016 14:09:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Search-does-not-return-all-event-data-on-a-field/m-p/223788#M24647</guid>
      <dc:creator>mgarciar</dc:creator>
      <dc:date>2016-04-27T14:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search does not return all event data on a field</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Search-does-not-return-all-event-data-on-a-field/m-p/223789#M24648</link>
      <description>&lt;P&gt;It sounds like the data is not getting indexed properly.  How are you getting the data into Splunk?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2016 14:52:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Search-does-not-return-all-event-data-on-a-field/m-p/223789#M24648</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2016-04-27T14:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search does not return all event data on a field</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Search-does-not-return-all-event-data-on-a-field/m-p/223790#M24649</link>
      <description>&lt;P&gt;I'm using the REST API app (&lt;A href="https://splunkbase.splunk.com/app/1546/"&gt;https://splunkbase.splunk.com/app/1546/&lt;/A&gt;)&lt;/P&gt;

&lt;P&gt;The event is showing all the data in splunk. Actually, if I do a search like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source="rest://PRIME_AccessPointDetailsAPI" | search "11.111.122.33"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Splunk will find that data, but if I do this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source="rest://PRIME_AccessPointDetailsAPI" | search queryResponse.entity{}.accessPointDetailsDTO.ipAddress="11.111.122.33"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I won't get any data back, unless the ipAddress value I use is on the list Splunk gives me on the field (second image)&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2016 15:03:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Search-does-not-return-all-event-data-on-a-field/m-p/223790#M24649</guid>
      <dc:creator>mgarciar</dc:creator>
      <dc:date>2016-04-27T15:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search does not return all event data on a field</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Search-does-not-return-all-event-data-on-a-field/m-p/223791#M24650</link>
      <description>&lt;P&gt;I am also using REST API to get data in Splunk and facing same problem. Did you get any solution on this? &lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2016 10:31:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Search-does-not-return-all-event-data-on-a-field/m-p/223791#M24650</guid>
      <dc:creator>swapnil_wadkute</dc:creator>
      <dc:date>2016-04-28T10:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search does not return all event data on a field</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Search-does-not-return-all-event-data-on-a-field/m-p/223792#M24651</link>
      <description>&lt;P&gt;I think so ... check my answer&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2016 13:30:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Search-does-not-return-all-event-data-on-a-field/m-p/223792#M24651</guid>
      <dc:creator>mgarciar</dc:creator>
      <dc:date>2016-04-28T13:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search does not return all event data on a field</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Search-does-not-return-all-event-data-on-a-field/m-p/223793#M24652</link>
      <description>&lt;P&gt;I think I understand the problem now.  So the event is a big json and Splunk is not properly parsing all fields on the big json.&lt;/P&gt;

&lt;P&gt;We need to tell splunk to parse the specific field we need with spath and specifying the field:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;yoursearch | spath output=myIpAddress path=queryResponse.entity{}.accessPointDetailsDTO.ipAddress | table myIpAddress
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.4/SearchReference/Spath"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.4/SearchReference/Spath&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;But I think also is important to analyze if maybe the data input needs to be divided in multiple events rather than a single huge event.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2016 13:38:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Search-does-not-return-all-event-data-on-a-field/m-p/223793#M24652</guid>
      <dc:creator>mgarciar</dc:creator>
      <dc:date>2016-04-28T13:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search does not return all event data on a field</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Search-does-not-return-all-event-data-on-a-field/m-p/223794#M24653</link>
      <description>&lt;P&gt;It works like a charm. Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2016 08:37:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Search-does-not-return-all-event-data-on-a-field/m-p/223794#M24653</guid>
      <dc:creator>swapnil_wadkute</dc:creator>
      <dc:date>2016-04-29T08:37:43Z</dc:date>
    </item>
  </channel>
</rss>

