<?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: Issue searching data in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-does-Splunk-return-0-results-when-filtering-data-that-we/m-p/515339#M144680</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225265"&gt;@FedeCarrizo&lt;/a&gt;&amp;nbsp;, can you check in your local props.conf the stanza for the sourcetype you are getting this data into?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Aug 2020 00:41:19 GMT</pubDate>
    <dc:creator>Nisha18789</dc:creator>
    <dc:date>2020-08-21T00:41:19Z</dc:date>
    <item>
      <title>Why does Splunk return 0 results when filtering data that we know is there?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-Splunk-return-0-results-when-filtering-data-that-we/m-p/515329#M144673</link>
      <description>&lt;P&gt;Hi everyone!&lt;/P&gt;
&lt;P&gt;We're sending events to Splunk using the HTTP Collector but we have an issue when we try to search for that data (using fields)&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Example event data&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;{
	"event": "Sample message", 
	"sourcetype": "my-backend-json", 
	"fields": {
		"function.name": "lambda-2", 
		"function.version": "0.0.1",
        "function.env": "prod",
		"function.flow": "cashin",
		"function.country": "ARG",
		"request.awsRequestId": "0000001",
		"user.accountId": "00001",
		"logtype": "error"
	}
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We see the events in Splunk search:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2020-08-20 at 20.43.38.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10416i2FDFEEE2FAB2281A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2020-08-20 at 20.43.38.png" alt="Screen Shot 2020-08-20 at 20.43.38.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2020-08-20 at 20.50.54.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10419i6B10899D91D0FC45/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2020-08-20 at 20.50.54.png" alt="Screen Shot 2020-08-20 at 20.50.54.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But the issue is&amp;nbsp;&lt;STRONG&gt;when we select any field for filtering data, Splunk returns 0 results.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 358px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10417i53B319F1FDFA7CD1/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10418iAAF0F7562D2C5436/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas?&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2020 21:44:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-Splunk-return-0-results-when-filtering-data-that-we/m-p/515329#M144673</guid>
      <dc:creator>FedeCarrizo</dc:creator>
      <dc:date>2020-08-21T21:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Issue searching data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-Splunk-return-0-results-when-filtering-data-that-we/m-p/515334#M144676</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225265"&gt;@FedeCarrizo&lt;/a&gt;&amp;nbsp;, it appears that the fields are having new line characters in them or something. To confirm this , can you try running query with wildcards in the field value and see if that returns the results?&lt;/P&gt;&lt;P&gt;”function.env”=*prod*&lt;/P&gt;&lt;P&gt;Also, what props.conf have you used for this ingestion?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2020 00:22:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-Splunk-return-0-results-when-filtering-data-that-we/m-p/515334#M144676</guid>
      <dc:creator>Nisha18789</dc:creator>
      <dc:date>2020-08-21T00:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Issue searching data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-Splunk-return-0-results-when-filtering-data-that-we/m-p/515338#M144679</link>
      <description>&lt;P&gt;Thanks for your answer Nisha!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now it´s working with&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;function.env=*prod* &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas how we can fix the "new line or something" issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here´s the request to the HTTP Collector:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2020-08-20 at 21.29.31.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10420i791CFCA858DA0713/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2020-08-20 at 21.29.31.png" alt="Screen Shot 2020-08-20 at 21.29.31.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2020 00:31:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-Splunk-return-0-results-when-filtering-data-that-we/m-p/515338#M144679</guid>
      <dc:creator>FedeCarrizo</dc:creator>
      <dc:date>2020-08-21T00:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Issue searching data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-Splunk-return-0-results-when-filtering-data-that-we/m-p/515339#M144680</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225265"&gt;@FedeCarrizo&lt;/a&gt;&amp;nbsp;, can you check in your local props.conf the stanza for the sourcetype you are getting this data into?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2020 00:41:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-Splunk-return-0-results-when-filtering-data-that-we/m-p/515339#M144680</guid>
      <dc:creator>Nisha18789</dc:creator>
      <dc:date>2020-08-21T00:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Issue searching data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-Splunk-return-0-results-when-filtering-data-that-we/m-p/515343#M144682</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/215670"&gt;@Nisha18789&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;I´m not sure if we are using (or modifying) the props.conf file. It´s posible?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here´s the SourceType config:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2020-08-20 at 21.47.40.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10422i2FAF206219C1F366/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2020-08-20 at 21.47.40.png" alt="Screen Shot 2020-08-20 at 21.47.40.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2020 00:49:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-Splunk-return-0-results-when-filtering-data-that-we/m-p/515343#M144682</guid>
      <dc:creator>FedeCarrizo</dc:creator>
      <dc:date>2020-08-21T00:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Issue searching data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-Splunk-return-0-results-when-filtering-data-that-we/m-p/515398#M144706</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225265"&gt;@FedeCarrizo&lt;/a&gt;&amp;nbsp;, can you try replacing&lt;/P&gt;&lt;P&gt;INDEXED_EXTRACTIONS =&amp;nbsp; json&amp;nbsp;&lt;/P&gt;&lt;P&gt;by&amp;nbsp;&lt;/P&gt;&lt;P&gt;KV_MODE= json&lt;/P&gt;&lt;P&gt;and see it that helps?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2020 08:41:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-Splunk-return-0-results-when-filtering-data-that-we/m-p/515398#M144706</guid>
      <dc:creator>Nisha18789</dc:creator>
      <dc:date>2020-08-21T08:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issue searching data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-Splunk-return-0-results-when-filtering-data-that-we/m-p/515457#M144731</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/215670"&gt;@Nisha18789&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just created a new SourceType with KV_MODE=json but no luck &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried with a new event:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
	"event": "Error getting user info", 
	"sourcetype": "new-backend-json", 
	"fields": {
		"function.name": "lambda-cashin-1", 
		"function.version": "0.0.1",
        "function.env": "PROD",
		"function.flow": "cashin",
		"function.country": "ARG",
		"request.awsRequestId": "0000001",
		"user.accountId": "00001",
		"user.username": "fgc@uala.com.ar",
		"test":"sample",
		"logtype": "error"
	}
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but the only "searchable" field is "logtype" (I tried with "test", which is at the same json level, but it didn't work)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2020-08-21 at 10.51.27.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10438i1D3922067D02A602/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2020-08-21 at 10.51.27.png" alt="Screen Shot 2020-08-21 at 10.51.27.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2020 13:55:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-Splunk-return-0-results-when-filtering-data-that-we/m-p/515457#M144731</guid>
      <dc:creator>FedeCarrizo</dc:creator>
      <dc:date>2020-08-21T13:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Issue searching data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-Splunk-return-0-results-when-filtering-data-that-we/m-p/515563#M144766</link>
      <description>&lt;P&gt;hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225265"&gt;@FedeCarrizo&lt;/a&gt;&amp;nbsp;, can you try removing&amp;nbsp;&amp;nbsp;LINE_BREAKER from the set up and add below two if not present already.&lt;/P&gt;&lt;P&gt;DATETIME_CONFIG=CURRENT&lt;/P&gt;&lt;P&gt;SHOULD_LINEMERGE=false&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2020 22:07:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-Splunk-return-0-results-when-filtering-data-that-we/m-p/515563#M144766</guid>
      <dc:creator>Nisha18789</dc:creator>
      <dc:date>2020-08-21T22:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Issue searching data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-Splunk-return-0-results-when-filtering-data-that-we/m-p/515876#M144872</link>
      <description>&lt;P&gt;No luck with that configuration :(.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2020-08-24 at 16.43.06.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10480iC21F7D95FA5D3752/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2020-08-24 at 16.43.06.png" alt="Screen Shot 2020-08-24 at 16.43.06.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 19:43:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-Splunk-return-0-results-when-filtering-data-that-we/m-p/515876#M144872</guid>
      <dc:creator>FedeCarrizo</dc:creator>
      <dc:date>2020-08-24T19:43:45Z</dc:date>
    </item>
  </channel>
</rss>

