<?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: Creating a new field from another field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Creating-a-new-field-from-another-field/m-p/580112#M202140</link>
    <description>&lt;LI-CODE lang="markup"&gt;| eval FS_Owner_Mail=FS_Owner."_".Mail&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 06 Jan 2022 11:45:44 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2022-01-06T11:45:44Z</dc:date>
    <item>
      <title>Creating a new field from another field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-a-new-field-from-another-field/m-p/580107#M202138</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wondering if anyone can help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a new field called FS_Owner_Mail using |eval from both the mail and FS_Owner existing fields but not too sure how to work it into the below search.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;index=varonis sourcetype=xxx:varonis:csv:reports&lt;BR /&gt;| eval User_Group=replace(replace('User_Group',"xxxxl\\\\","")," ","")&lt;BR /&gt;| join type=left User_Group&lt;BR /&gt;[ search index=ad source=xxx_adgroupmemberscan memberSamAccountName="*_xxx" earliest=-48h&lt;BR /&gt;| dedup groupSamAccountName, memberSamAccountName&lt;BR /&gt;| rename groupSamAccountName as User_Group, memberSamAccountName as Member&lt;BR /&gt;| join type=left Member&lt;BR /&gt;[ search index=ad source="xxx_aduserscan" samAccountName="*_xxx"&lt;BR /&gt;| dedup samAccountName&lt;BR /&gt;| rename samAccountName as Member&lt;BR /&gt;| table Member, displayName, mail]&lt;BR /&gt;| stats values(Member) as Member, values(displayName) as DisplayName, values(mail) as Mail by User_Group&lt;BR /&gt;| eval User_Group=replace(replace('User_Group',"_xxx","")," ","")]&lt;BR /&gt;| table Access_Path Current_Permissions, DisplayName, FS_Owner, Flags, Inherited_From_Folders, Mail, Member, User_Group&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 10:56:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-a-new-field-from-another-field/m-p/580107#M202138</guid>
      <dc:creator>emcglade</dc:creator>
      <dc:date>2022-01-06T10:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new field from another field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-a-new-field-from-another-field/m-p/580112#M202140</link>
      <description>&lt;LI-CODE lang="markup"&gt;| eval FS_Owner_Mail=FS_Owner."_".Mail&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 06 Jan 2022 11:45:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-a-new-field-from-another-field/m-p/580112#M202140</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-01-06T11:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new field from another field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-a-new-field-from-another-field/m-p/580113#M202141</link>
      <description>&lt;P&gt;Thank you, looks great!&lt;/P&gt;&lt;P&gt;can you explain the logic and where it would best be in the search?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 12:08:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-a-new-field-from-another-field/m-p/580113#M202141</guid>
      <dc:creator>emcglade</dc:creator>
      <dc:date>2022-01-06T12:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new field from another field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-a-new-field-from-another-field/m-p/580116#M202143</link>
      <description>&lt;P&gt;At the end when you have values for FS_Owner and Mail?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 12:35:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-a-new-field-from-another-field/m-p/580116#M202143</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-01-06T12:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new field from another field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-a-new-field-from-another-field/m-p/580122#M202144</link>
      <description>&lt;P&gt;Perfect looks really good!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 13:01:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-a-new-field-from-another-field/m-p/580122#M202144</guid>
      <dc:creator>emcglade</dc:creator>
      <dc:date>2022-01-06T13:01:08Z</dc:date>
    </item>
  </channel>
</rss>

