<?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 does my lookup search fetch results when searching one index but not with another? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-does-my-lookup-search-fetch-results-when-searching-one-index/m-p/272312#M81947</link>
    <description>&lt;P&gt;Can you please check once the permission scope of the csv and whether this csv is accessible in the same socpe as the index to see if changing that helps.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Dec 2016 16:00:44 GMT</pubDate>
    <dc:creator>gokadroid</dc:creator>
    <dc:date>2016-12-13T16:00:44Z</dc:date>
    <item>
      <title>Why does my lookup search fetch results when searching one index but not with another?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-my-lookup-search-fetch-results-when-searching-one-index/m-p/272311#M81946</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;
I have lookup file name called " Privilege_User_List.csv". Using Splunk index, I can able lookup the data and get results. The same query is not working with a different index.&lt;BR /&gt;
Example:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;index=Index1 sourcetype=iis  [| inputlookup Privilege_User_List.csv | fields cs_username ] cs_uri_stem="*.aspx"| stats values(cs_uri_stem) as cs_uri_stem by cs_username| rename cs_username as "User Name", cs_uri_stem as "URL"&lt;/CODE&gt; --- it's working&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;index=Index2 sourcetype=iis  [| inputlookup Privilege_User_List.csv | fields cs_username ] cs_uri_stem="*.aspx"| stats values(cs_uri_stem) as cs_uri_stem by cs_username| rename cs_username as "User Name", cs_uri_stem as "URL"&lt;/CODE&gt; --- it's not working.&lt;/P&gt;

&lt;P&gt;I checked the index2, whether data is exist or not. some data is exist. I have removed entries one by one and tried. No luck. we have restarted the Splunk service as well.&lt;/P&gt;

&lt;P&gt;Can you please help me on this kind of weird issue?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Guru&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:04:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-my-lookup-search-fetch-results-when-searching-one-index/m-p/272311#M81946</guid>
      <dc:creator>guruwells</dc:creator>
      <dc:date>2020-09-29T12:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my lookup search fetch results when searching one index but not with another?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-my-lookup-search-fetch-results-when-searching-one-index/m-p/272312#M81947</link>
      <description>&lt;P&gt;Can you please check once the permission scope of the csv and whether this csv is accessible in the same socpe as the index to see if changing that helps.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 16:00:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-my-lookup-search-fetch-results-when-searching-one-index/m-p/272312#M81947</guid>
      <dc:creator>gokadroid</dc:creator>
      <dc:date>2016-12-13T16:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my lookup search fetch results when searching one index but not with another?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-my-lookup-search-fetch-results-when-searching-one-index/m-p/272313#M81948</link>
      <description>&lt;P&gt;&lt;CODE&gt;index=Index2 sourcetype=iis cs_uri_stem="*.aspx"&lt;/CODE&gt; has cs_usernames that match &lt;CODE&gt;| inputlookup Privilege_User_List.csv | fields cs_username&lt;/CODE&gt; ?&lt;/P&gt;

&lt;P&gt;I don't think this will fix the issue, but one thing I like to add to my subsearches is &lt;CODE&gt;|format&lt;/CODE&gt; as it will show 'cs_username=x OR cs_username=y....'&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [| inputlookup Privilege_User_List.csv | fields cs_username|format ]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:04:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-my-lookup-search-fetch-results-when-searching-one-index/m-p/272313#M81948</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2020-09-29T12:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my lookup search fetch results when searching one index but not with another?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-my-lookup-search-fetch-results-when-searching-one-index/m-p/272314#M81949</link>
      <description>&lt;P&gt;Hi guruwells,&lt;BR /&gt;
verify if the cs_username field is present in the second index and how it'r written (upper/lower case).&lt;BR /&gt;
after verify your search &lt;CODE&gt;index=Index2 sourcetype=iis [| inputlookup Privilege_User_List.csv | fields cs_username ]&lt;/CODE&gt;  if there are results.&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:04:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-my-lookup-search-fetch-results-when-searching-one-index/m-p/272314#M81949</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-09-29T12:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my lookup search fetch results when searching one index but not with another?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-my-lookup-search-fetch-results-when-searching-one-index/m-p/272315#M81950</link>
      <description>&lt;P&gt;Even second index also same name and same case. this data is coming from iis logs. I didn't find any difference.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 16:05:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-my-lookup-search-fetch-results-when-searching-one-index/m-p/272315#M81950</guid>
      <dc:creator>guruwells</dc:creator>
      <dc:date>2016-12-13T16:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my lookup search fetch results when searching one index but not with another?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-my-lookup-search-fetch-results-when-searching-one-index/m-p/272316#M81951</link>
      <description>&lt;P&gt;Even second index also same name and same case. this data is coming from iis logs. I didn't find any difference.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 16:06:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-my-lookup-search-fetch-results-when-searching-one-index/m-p/272316#M81951</guid>
      <dc:creator>guruwells</dc:creator>
      <dc:date>2016-12-13T16:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my lookup search fetch results when searching one index but not with another?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-my-lookup-search-fetch-results-when-searching-one-index/m-p/272317#M81952</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I have checked the permission of the particular lookup file. For all apps "everyone" can read this file. The same was applied index one as well. there it's showing results.&lt;BR /&gt;
Thanks&lt;BR /&gt;
Guru&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 16:07:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-my-lookup-search-fetch-results-when-searching-one-index/m-p/272317#M81952</guid>
      <dc:creator>guruwells</dc:creator>
      <dc:date>2016-12-13T16:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my lookup search fetch results when searching one index but not with another?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-my-lookup-search-fetch-results-when-searching-one-index/m-p/272318#M81953</link>
      <description>&lt;P&gt;Added format, it's not worked. When I execute&lt;BR /&gt;
"|inputlookup Privilege_User_List.csv | fields cs_username" query, I can able to see csv list.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Guru&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:06:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-my-lookup-search-fetch-results-when-searching-one-index/m-p/272318#M81953</guid>
      <dc:creator>guruwells</dc:creator>
      <dc:date>2020-09-29T12:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my lookup search fetch results when searching one index but not with another?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-my-lookup-search-fetch-results-when-searching-one-index/m-p/272319#M81954</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I thoroughly checked the each and every line of the CSV and results. There is one mismatch with new Index. I have modified the Lookup file accordingly. Now I got the result as expected.&lt;/P&gt;

&lt;P&gt;Thanks for the suggestions.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Guru Prasad &lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 10:00:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-my-lookup-search-fetch-results-when-searching-one-index/m-p/272319#M81954</guid>
      <dc:creator>guruwells</dc:creator>
      <dc:date>2016-12-14T10:00:53Z</dc:date>
    </item>
  </channel>
</rss>

