<?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: help to write the request correctly in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/help-to-write-the-request-correctly/m-p/571909#M199292</link>
    <description>&lt;P&gt;Try something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=IndexName 
| table username ip_address_new id_new desti
| lookup username file.csv OUTPUT id_old
| where id_new!=id_old&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 21 Oct 2021 21:01:20 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2021-10-21T21:01:20Z</dc:date>
    <item>
      <title>help to write the request correctly</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-to-write-the-request-correctly/m-p/571878#M199278</link>
      <description>&lt;P&gt;Hello guys!!&lt;/P&gt;&lt;P&gt;help to write the request correctly. otherwise I don't understand how to do it right&lt;/P&gt;&lt;P&gt;file.csv&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;username&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;ip_address_old&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;id_old&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;desti&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;John&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;192.168.11.5&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;1234&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;abcd&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;index = IndexName&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="25%"&gt;usernem&lt;/TD&gt;&lt;TD width="25%"&gt;ip_address_new&lt;/TD&gt;&lt;TD width="25%"&gt;id_new&lt;/TD&gt;&lt;TD width="25%"&gt;desti&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%"&gt;John&lt;/TD&gt;&lt;TD width="25%"&gt;172.168.15.10&lt;/TD&gt;&lt;TD width="25%"&gt;4321&lt;/TD&gt;&lt;TD width="25%"&gt;bsir&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where id_old != id_new. output&lt;/P&gt;&lt;TABLE border="1" width="521px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="129.671875px"&gt;usernem&lt;/TD&gt;&lt;TD width="131px"&gt;ip_address_new&lt;/TD&gt;&lt;TD width="129.609375px"&gt;id_new&lt;/TD&gt;&lt;TD width="64.890625px"&gt;desti&lt;/TD&gt;&lt;TD width="64.859375px"&gt;id_old&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="129.671875px"&gt;John&lt;/TD&gt;&lt;TD width="131px"&gt;172.168.15.10&lt;/TD&gt;&lt;TD width="129.609375px"&gt;4321&lt;/TD&gt;&lt;TD width="64.890625px"&gt;bsir&lt;/TD&gt;&lt;TD width="64.859375px"&gt;1234&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Thu, 21 Oct 2021 18:33:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-to-write-the-request-correctly/m-p/571878#M199278</guid>
      <dc:creator>gitingua</dc:creator>
      <dc:date>2021-10-21T18:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: help to write the request correctly</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-to-write-the-request-correctly/m-p/571905#M199289</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/232899"&gt;@gitingua&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you share your search query that you're trying for this result ?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 20:47:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-to-write-the-request-correctly/m-p/571905#M199289</guid>
      <dc:creator>nmohammed</dc:creator>
      <dc:date>2021-10-21T20:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: help to write the request correctly</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-to-write-the-request-correctly/m-p/571909#M199292</link>
      <description>&lt;P&gt;Try something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=IndexName 
| table username ip_address_new id_new desti
| lookup username file.csv OUTPUT id_old
| where id_new!=id_old&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 21 Oct 2021 21:01:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-to-write-the-request-correctly/m-p/571909#M199292</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2021-10-21T21:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: help to write the request correctly</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-to-write-the-request-correctly/m-p/571988#M199321</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Error in 'lookup' command: Could not construct lookup 'username, file.csv, OUTPUT, id_old'.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 11:37:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-to-write-the-request-correctly/m-p/571988#M199321</guid>
      <dc:creator>gitingua</dc:creator>
      <dc:date>2021-10-22T11:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: help to write the request correctly</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-to-write-the-request-correctly/m-p/572023#M199340</link>
      <description>&lt;P&gt;Could you provide the actual query you tried? You may have added commas instead of spaces in lookup command. See this for syntax and example of lookup command:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/SCS/current/SearchReference/LookupCommandExamples" target="_blank"&gt;https://docs.splunk.com/Documentation/SCS/current/SearchReference/LookupCommandExamples&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 14:00:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-to-write-the-request-correctly/m-p/572023#M199340</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2021-10-22T14:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: help to write the request correctly</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-to-write-the-request-correctly/m-p/572157#M199409</link>
      <description>&lt;P&gt;index = index&lt;/P&gt;&lt;P&gt;| table username src_ip asn&lt;BR /&gt;| lookup username user.csv OUTPUT asn_old&lt;BR /&gt;| where asn != asn_old&lt;/P&gt;</description>
      <pubDate>Sun, 24 Oct 2021 14:52:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-to-write-the-request-correctly/m-p/572157#M199409</guid>
      <dc:creator>gitingua</dc:creator>
      <dc:date>2021-10-24T14:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: help to write the request correctly</title>
      <link>https://community.splunk.com/t5/Splunk-Search/help-to-write-the-request-correctly/m-p/572158#M199410</link>
      <description>&lt;LI-CODE lang="markup"&gt;index=IndexName 
| table username ip_address_new id_new desti
| lookup file.csv username OUTPUT id_old
| where id_new!=id_old&lt;/LI-CODE&gt;&lt;P&gt;Thanks !!&lt;/P&gt;</description>
      <pubDate>Sun, 24 Oct 2021 15:04:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/help-to-write-the-request-correctly/m-p/572158#M199410</guid>
      <dc:creator>gitingua</dc:creator>
      <dc:date>2021-10-24T15:04:33Z</dc:date>
    </item>
  </channel>
</rss>

