<?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: splunk rename source in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/splunk-rename-source/m-p/543315#M90713</link>
    <description>&lt;P&gt;You can extract using rex command:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults 
| eval source="E:\test\Apps\path\EventLogs\MemoCPU\user-MemoCPU.log" 
| rex field=source "(?&amp;lt;source&amp;gt;[^\\\\]+)\.log$"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this reply helps you, an upvote/like would be appreciated.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Mar 2021 06:41:30 GMT</pubDate>
    <dc:creator>manjunathmeti</dc:creator>
    <dc:date>2021-03-11T06:41:30Z</dc:date>
    <item>
      <title>splunk rename source</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-rename-source/m-p/543298#M90711</link>
      <description>&lt;P&gt;I have my source name as&amp;nbsp;below, the 'user' field keeps on updating&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;E:\test\Apps\path\EventLogs\MemoCPU\user-MemoCPU.log&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I don't want to display the entire path but just want user-MemoCPU as source, can we achieve it?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 04:41:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-rename-source/m-p/543298#M90711</guid>
      <dc:creator>SS1</dc:creator>
      <dc:date>2021-03-11T04:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: splunk rename source</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-rename-source/m-p/543315#M90713</link>
      <description>&lt;P&gt;You can extract using rex command:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults 
| eval source="E:\test\Apps\path\EventLogs\MemoCPU\user-MemoCPU.log" 
| rex field=source "(?&amp;lt;source&amp;gt;[^\\\\]+)\.log$"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this reply helps you, an upvote/like would be appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 06:41:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-rename-source/m-p/543315#M90713</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2021-03-11T06:41:30Z</dc:date>
    </item>
  </channel>
</rss>

