<?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 Splunk Datamodel Endpoint Processes.process_name: How do we fix the regex to only show process name? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Datamodel-Endpoint-Processes-process-name-How-do-we-fix/m-p/588116#M103244</link>
    <description>&lt;P&gt;We are having issues with our Splunk datamodel Endpoint Processes.process_name. The current value for Process.process_name is...&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;case(isnotnull(process) AND parent_process!="",replace(process,".*\\\\(.*)","\1"),1=1,"unknown")&lt;/LI-CODE&gt;
&lt;P&gt;The regex pulls correct and invalid results as follows...&lt;/P&gt;
&lt;P&gt;Correct:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;lsass.exe
NmService.exe
Microsoft.IdentityServer.ServiceHost.exe&lt;/LI-CODE&gt;
&lt;P&gt;Incorrect:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;AppxData.csv"
BackgroundTaskHost.exe" -ServerName:BackgroundTaskHost.WebAccountProvider
RuntimeBroker.exe -Embedding&lt;/LI-CODE&gt;
&lt;P&gt;The correct results show the actual process name while the incorrect ones may not show the process name or shows the process name with an extra quotation mark or command line arguments.&lt;/P&gt;
&lt;P&gt;How do we fix the regex to only show process name?&lt;/P&gt;</description>
    <pubDate>Wed, 09 Mar 2022 18:41:16 GMT</pubDate>
    <dc:creator>SplunkUserD</dc:creator>
    <dc:date>2022-03-09T18:41:16Z</dc:date>
    <item>
      <title>Splunk Datamodel Endpoint Processes.process_name: How do we fix the regex to only show process name?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Datamodel-Endpoint-Processes-process-name-How-do-we-fix/m-p/588116#M103244</link>
      <description>&lt;P&gt;We are having issues with our Splunk datamodel Endpoint Processes.process_name. The current value for Process.process_name is...&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;case(isnotnull(process) AND parent_process!="",replace(process,".*\\\\(.*)","\1"),1=1,"unknown")&lt;/LI-CODE&gt;
&lt;P&gt;The regex pulls correct and invalid results as follows...&lt;/P&gt;
&lt;P&gt;Correct:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;lsass.exe
NmService.exe
Microsoft.IdentityServer.ServiceHost.exe&lt;/LI-CODE&gt;
&lt;P&gt;Incorrect:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;AppxData.csv"
BackgroundTaskHost.exe" -ServerName:BackgroundTaskHost.WebAccountProvider
RuntimeBroker.exe -Embedding&lt;/LI-CODE&gt;
&lt;P&gt;The correct results show the actual process name while the incorrect ones may not show the process name or shows the process name with an extra quotation mark or command line arguments.&lt;/P&gt;
&lt;P&gt;How do we fix the regex to only show process name?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2022 18:41:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Datamodel-Endpoint-Processes-process-name-How-do-we-fix/m-p/588116#M103244</guid>
      <dc:creator>SplunkUserD</dc:creator>
      <dc:date>2022-03-09T18:41:16Z</dc:date>
    </item>
  </channel>
</rss>

