<?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 Can you do Splunk Input with cv2? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Can-you-do-Splunk-Input-with-cv2/m-p/601596#M209369</link>
    <description>&lt;P&gt;Thanks in Advance,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a search setup to see whenever someone access's a certain document. This works just fine, the issue comes with the results. Looking at the Extracted Fields, i get the users "Sid" instead of their username. I do however have Splunk Supporting Add-On for Active Directory, and have it configured. I have a report that pulls a CSV (users.csv) that gives me everyones sAMAccountName as well as their SIDs' and puts it in the location of my Lookup Table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Trying to figure out how to get the |inputlookup&amp;nbsp; &amp;nbsp; &amp;nbsp;to compair the search results Sid with my excel doc and give me the AccountName in that specific Row as well. Any help?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have this ( minus the output to create my users.csv)&lt;/P&gt;
&lt;P&gt;|ldapsearch search="(&amp;amp;(objectclass=user)(!(objectClass=computer)))" attrs="userAccountControl,sAMAccountName,objectSid,displayName,givenName,sn,mail,telephoneNumber,mobile,manager,department,whenCreated,accountExpires"&lt;BR /&gt;|makemv userAccountControl&lt;BR /&gt;|search userAccountControl="NORMAL_ACCOUNT"&lt;BR /&gt;|eval suffix=""&lt;BR /&gt;|eval endDate=""&lt;BR /&gt;|table sAMAccountName,objectSid,displayName,givenName,sn,whenCreated,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and my main search&lt;/P&gt;
&lt;P&gt;source="WinEventLog:Microsoft-Windows-AppLocker/EXE and DLL" NOT %SYSTEM32*&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just need a input to get my results Sid to look at the Excel find the SID in the "objectSid" ( column B ) and give me the sAMAccountName(columnA) into my search results...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IF POSSIBLE!&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jun 2022 20:34:11 GMT</pubDate>
    <dc:creator>judges88</dc:creator>
    <dc:date>2022-06-13T20:34:11Z</dc:date>
    <item>
      <title>Can you do Splunk Input with cv2?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-do-Splunk-Input-with-cv2/m-p/601596#M209369</link>
      <description>&lt;P&gt;Thanks in Advance,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a search setup to see whenever someone access's a certain document. This works just fine, the issue comes with the results. Looking at the Extracted Fields, i get the users "Sid" instead of their username. I do however have Splunk Supporting Add-On for Active Directory, and have it configured. I have a report that pulls a CSV (users.csv) that gives me everyones sAMAccountName as well as their SIDs' and puts it in the location of my Lookup Table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Trying to figure out how to get the |inputlookup&amp;nbsp; &amp;nbsp; &amp;nbsp;to compair the search results Sid with my excel doc and give me the AccountName in that specific Row as well. Any help?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have this ( minus the output to create my users.csv)&lt;/P&gt;
&lt;P&gt;|ldapsearch search="(&amp;amp;(objectclass=user)(!(objectClass=computer)))" attrs="userAccountControl,sAMAccountName,objectSid,displayName,givenName,sn,mail,telephoneNumber,mobile,manager,department,whenCreated,accountExpires"&lt;BR /&gt;|makemv userAccountControl&lt;BR /&gt;|search userAccountControl="NORMAL_ACCOUNT"&lt;BR /&gt;|eval suffix=""&lt;BR /&gt;|eval endDate=""&lt;BR /&gt;|table sAMAccountName,objectSid,displayName,givenName,sn,whenCreated,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and my main search&lt;/P&gt;
&lt;P&gt;source="WinEventLog:Microsoft-Windows-AppLocker/EXE and DLL" NOT %SYSTEM32*&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just need a input to get my results Sid to look at the Excel find the SID in the "objectSid" ( column B ) and give me the sAMAccountName(columnA) into my search results...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IF POSSIBLE!&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 20:34:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-do-Splunk-Input-with-cv2/m-p/601596#M209369</guid>
      <dc:creator>judges88</dc:creator>
      <dc:date>2022-06-13T20:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can you do Splunk Input with cv2?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-do-Splunk-Input-with-cv2/m-p/601650#M209390</link>
      <description>&lt;P&gt;Have you tried using the lookup command?&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.6/SearchReference/Lookup" target="_blank"&gt;lookup - Splunk Documentation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2022 06:27:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-do-Splunk-Input-with-cv2/m-p/601650#M209390</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-06-14T06:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: Can you do Splunk Input with cv2?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-do-Splunk-Input-with-cv2/m-p/601717#M209426</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did try and did read i just feel i may not be smart enough to understand this. I never needed to use this before so its all kinda new. Ill take a look at the docs again.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2022 11:27:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-do-Splunk-Input-with-cv2/m-p/601717#M209426</guid>
      <dc:creator>judges88</dc:creator>
      <dc:date>2022-06-14T11:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Can you do Splunk Input with cv2?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-do-Splunk-Input-with-cv2/m-p/601719#M209428</link>
      <description>&lt;P&gt;So i was able to figure it out after a few hours.... dont judge haha.... It was because my CSV with the info in it field was titled "objectSid" but the original output of the search field was just "sid" so as soon as i renamed the "sid" to match the csv "objectSid" in my lookup it worked right away....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;search here* | rename "Sid" as "objectSid" | lookup users1.csv objectSid OUTPUTNEW sAMAccountName | table Message, sAMAccountName&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2022 11:50:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-do-Splunk-Input-with-cv2/m-p/601719#M209428</guid>
      <dc:creator>judges88</dc:creator>
      <dc:date>2022-06-14T11:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Can you do Splunk Input with cv2?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-do-Splunk-Input-with-cv2/m-p/601726#M209429</link>
      <description>&lt;P&gt;You can also do the "rename" as part of the lookup&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;search here* | lookup users1.csv objectSid AS Sid OUTPUTNEW sAMAccountName | table Message, sAMAccountName&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 14 Jun 2022 12:11:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-do-Splunk-Input-with-cv2/m-p/601726#M209429</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-06-14T12:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can you do Splunk Input with cv2?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-you-do-Splunk-Input-with-cv2/m-p/601733#M209430</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thatll make the search look better for sure. Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2022 12:48:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-you-do-Splunk-Input-with-cv2/m-p/601733#M209430</guid>
      <dc:creator>judges88</dc:creator>
      <dc:date>2022-06-14T12:48:27Z</dc:date>
    </item>
  </channel>
</rss>

