<?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: Veeam Logs Parsing in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/How-to-parse-Veeam-Logs/m-p/633029#M9283</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;My splunk instance is a standalone free splunk enetreprise deployment.&lt;/P&gt;&lt;P&gt;I have created the virsec_app and placed all configurations inside local folder &amp;amp; also restarted the server.&lt;/P&gt;&lt;P&gt;I tried the regex all are working, as i tried field extraction from splunk gui and all worked fine, so tried through backend using props.conf but seems it doesn't works. Please find below my whole configuration.&lt;/P&gt;&lt;P&gt;inputs.conf&lt;BR /&gt;[monitor://c:\\&amp;lt;location for the log&amp;gt;]&lt;BR /&gt;index=virsec&lt;BR /&gt;sourcetype=virsec_log&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;props.conf&lt;BR /&gt;[virsec_log]&lt;BR /&gt;SHOULD_LINEMERGE=false&lt;BR /&gt;LINE_BREAKER=([\r\n]+)&lt;BR /&gt;MAX_TIMESTAMP_LOOKAHEAD=15&lt;BR /&gt;TIME_FORMAT=%b %d %H:%M:%S&lt;BR /&gt;TRANSFORMS-sourcetype=virsec_library,virsec_process&lt;/P&gt;&lt;P&gt;[virsec:library]&lt;BR /&gt;SHOULD_LINEMERGE=false&lt;BR /&gt;LINE_BREAKER=([\r\n]+)&lt;BR /&gt;MAX_TIMESTAMP_LOOKAHEAD=15&lt;BR /&gt;TIME_FORMAT=%b %d %H:%M:%S&lt;BR /&gt;EXTRACT-processpath = Process Path=(?&amp;lt;ProcessPath&amp;gt;.*) Library Checksum&lt;BR /&gt;EXTRACT-ParentProcessName = Parent Process Name=(?&amp;lt;ParentProcessName&amp;gt;.*) Process Threat&lt;BR /&gt;EXTRACT-LibraryName = Library Name=(?&amp;lt;LibraryName&amp;gt;.*) Start Time&lt;BR /&gt;EXTRACT-ProcessName = \d\sProcess Name=(?&amp;lt;ProcessName&amp;gt;.*) Process Profile Id&lt;BR /&gt;EXTRACT-LibraryPath = Library Path=(?&amp;lt;LibraryPath&amp;gt;.*) Event Type&lt;BR /&gt;EXTRACT-ProcessProfileName = Process Profile Name=(?&amp;lt;ProcessProfileName&amp;gt;.*) Number of Libraries&lt;BR /&gt;EXTRACT-ProcessThreatVerificationStatus = Process Threat Verification Status =(?&amp;lt;ProcessThreatVerificationStatus&amp;gt;.*) Process Path&lt;/P&gt;&lt;P&gt;[virsec:process]&lt;BR /&gt;SHOULD_LINEMERGE=false&lt;BR /&gt;LINE_BREAKER=([\r\n]+)&lt;BR /&gt;MAX_TIMESTAMP_LOOKAHEAD=15&lt;BR /&gt;TIME_FORMAT=%b %d %H:%M:%S&lt;BR /&gt;EXTRACT-processpath = Process Path=(?&amp;lt;ProcessPath&amp;gt;.*) Canary No&lt;BR /&gt;EXTRACT-ParentProcessName = Parent Process Name=(?&amp;lt;ParentProcessName&amp;gt;.*) Process Threat&lt;BR /&gt;EXTRACT-ProcessName = \d\sProcess Name=(?&amp;lt;ProcessName&amp;gt;.*) Process Profile Id&lt;BR /&gt;EXTRACT-ProcessProfileName = Process Profile Name=(?&amp;lt;ProcessProfileName&amp;gt;.*) Number of Libraries&lt;BR /&gt;EXTRACT-ProcessThreatVerificationStatus = Process Threat Verification Status =(?&amp;lt;ProcessThreatVerificationStatus&amp;gt;.*) Process Path&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;transforms.conf&lt;BR /&gt;[virsec_library]&lt;BR /&gt;SOURCE_KEY = _raw&lt;BR /&gt;REGEX = (LibraryMonitoring|LibraryInjection|LibraryHijack)&lt;BR /&gt;DEST_KEY = MetaData:Sourcetype&lt;BR /&gt;FORMAT = sourcetype::virsec:library&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;[virsec_process]&lt;BR /&gt;SOURCE_KEY = _raw&lt;BR /&gt;REGEX = (ProcessMonitoring|ProcessInjection)&lt;BR /&gt;DEST_KEY = MetaData:Sourcetype&lt;BR /&gt;FORMAT = sourcetype::virsec:process&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;indexes.conf&lt;BR /&gt;[virsec]&lt;BR /&gt;homePath = $SPLUNK_DB/virsec/db&lt;BR /&gt;coldPath = $SPLUNK_DB/virsec/colddb&lt;BR /&gt;thawedPath = $SPLUNK_DB/virsec/thaweddb&lt;BR /&gt;maxDataSize = 10000&lt;BR /&gt;maxHotBuckets = 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Mar 2023 16:04:31 GMT</pubDate>
    <dc:creator>sanglap666</dc:creator>
    <dc:date>2023-03-02T16:04:31Z</dc:date>
    <item>
      <title>How to parse Veeam Logs?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-parse-Veeam-Logs/m-p/632793#M9281</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;
&lt;P&gt;I have sample logs for Virsec event. Below is a sample event.&lt;/P&gt;
&lt;P&gt;Mar 1 06:24:05 xxx.xxx.xxx.xxx CEF:1|Virsec Security Platform|Virsec|x.x.x|41|Library Monitoring|10|EventId=VS-NA-030123-A02447| Server_Name=xxxxxx Incident_Level=ATTACK Incident_Category=FILE_INTEGRITY Incident_Type=Library Monitoring Incident_Timestamp=01 Mar 2023 02:24:05 PM GMT Process Checksum=097ce5761c89434367598b34fe32893b Action=LOG Parameters=cmdline Parent Process Name=cmd.exe Process Threat Verification Status =Safe Process Path=C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe Library Checksum=2cdb991bbbb60eb91c2df5f68e96e8fe Canary No=1220704979 Process Profile Name=xxxxxxxxxxxxxxxxxxxxxx Number of Libraries=1 Library Name=EdrDotNet.UnmanagedLib.dll Start Time=2023-03-01T14:23:58.661-05:00 Process Name=powershell.exe Process Profile Id=494037864 processObjectId=63f35f7a0ac3c9670c943e14 Username=xxxxxxx\xxxxxxx libraryObjectId=63f35f7a0ac3c9670c943e16 Library Path=C:\Windows\System32\EdrDotNet.UnmanagedLib.dll Event Type=New Library for Process Incident Type=Library Injection Process Pid=9632 Type=Library Monitoring Incident Description=Library Monitoring eventTime=2023-03-01T14:23:58.661-05:00 category=FILE_INTEGRITY threatCode=LibraryInjection&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have created a parsing for this using EXTRACT- in props.conf inside a seperate app.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[virsec:library]&lt;BR /&gt;SHOULD_LINEMERGE=false&lt;BR /&gt;LINE_BREAKER=([\r\n]+)&lt;BR /&gt;MAX_TIMESTAMP_LOOKAHEAD=15&lt;BR /&gt;TIME_FORMAT=%b %d %H:%M:%S&lt;BR /&gt;EXTRACT-processpath = Process Path=(?&amp;lt;ProcessPath&amp;gt;.*) Library Checksum&lt;BR /&gt;EXTRACT-ParentProcessName = Parent Process Name=(?&amp;lt;ParentProcessName&amp;gt;.*) Process Threat&lt;BR /&gt;EXTRACT-LibraryName = Library Name=(?&amp;lt;LibraryName&amp;gt;.*) Start Time&lt;BR /&gt;EXTRACT-ProcessName = \d\sProcess Name=(?&amp;lt;ProcessName&amp;gt;.*) Process Profile Id&lt;BR /&gt;EXTRACT-LibraryPath = Library Path=(?&amp;lt;LibraryPath&amp;gt;.*) Event Type&lt;BR /&gt;EXTRACT-ProcessProfileName = Process Profile Name=(?&amp;lt;ProcessProfileName&amp;gt;.*) Number of Libraries&lt;BR /&gt;EXTRACT-ProcessThreatVerificationStatus = Process Threat Verification Status =(?&amp;lt;ProcessThreatVerificationStatus&amp;gt;.*) Process Path&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not sure why the parsing is not working. Can somebody help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 18:37:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-parse-Veeam-Logs/m-p/632793#M9281</guid>
      <dc:creator>sanglap666</dc:creator>
      <dc:date>2023-03-01T18:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Veeam Logs Parsing</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-parse-Veeam-Logs/m-p/632802#M9282</link>
      <description>&lt;P&gt;Where did you install this app?&amp;nbsp; Did you restart the Splunk instance(s) afterwards?&amp;nbsp; The app should be installed on the Search Head, Indexers, and Heavy Forwarders (if any).&lt;/P&gt;&lt;P&gt;Have you tested the regular expressions on &lt;A href="https://regex101.com" target="_blank"&gt;https://regex101.com&lt;/A&gt; to verify the work as expected?&lt;/P&gt;&lt;P&gt;Does the inputs.conf stanza have the right sourcetype?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 16:17:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-parse-Veeam-Logs/m-p/632802#M9282</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-03-01T16:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Veeam Logs Parsing</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-parse-Veeam-Logs/m-p/633029#M9283</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;My splunk instance is a standalone free splunk enetreprise deployment.&lt;/P&gt;&lt;P&gt;I have created the virsec_app and placed all configurations inside local folder &amp;amp; also restarted the server.&lt;/P&gt;&lt;P&gt;I tried the regex all are working, as i tried field extraction from splunk gui and all worked fine, so tried through backend using props.conf but seems it doesn't works. Please find below my whole configuration.&lt;/P&gt;&lt;P&gt;inputs.conf&lt;BR /&gt;[monitor://c:\\&amp;lt;location for the log&amp;gt;]&lt;BR /&gt;index=virsec&lt;BR /&gt;sourcetype=virsec_log&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;props.conf&lt;BR /&gt;[virsec_log]&lt;BR /&gt;SHOULD_LINEMERGE=false&lt;BR /&gt;LINE_BREAKER=([\r\n]+)&lt;BR /&gt;MAX_TIMESTAMP_LOOKAHEAD=15&lt;BR /&gt;TIME_FORMAT=%b %d %H:%M:%S&lt;BR /&gt;TRANSFORMS-sourcetype=virsec_library,virsec_process&lt;/P&gt;&lt;P&gt;[virsec:library]&lt;BR /&gt;SHOULD_LINEMERGE=false&lt;BR /&gt;LINE_BREAKER=([\r\n]+)&lt;BR /&gt;MAX_TIMESTAMP_LOOKAHEAD=15&lt;BR /&gt;TIME_FORMAT=%b %d %H:%M:%S&lt;BR /&gt;EXTRACT-processpath = Process Path=(?&amp;lt;ProcessPath&amp;gt;.*) Library Checksum&lt;BR /&gt;EXTRACT-ParentProcessName = Parent Process Name=(?&amp;lt;ParentProcessName&amp;gt;.*) Process Threat&lt;BR /&gt;EXTRACT-LibraryName = Library Name=(?&amp;lt;LibraryName&amp;gt;.*) Start Time&lt;BR /&gt;EXTRACT-ProcessName = \d\sProcess Name=(?&amp;lt;ProcessName&amp;gt;.*) Process Profile Id&lt;BR /&gt;EXTRACT-LibraryPath = Library Path=(?&amp;lt;LibraryPath&amp;gt;.*) Event Type&lt;BR /&gt;EXTRACT-ProcessProfileName = Process Profile Name=(?&amp;lt;ProcessProfileName&amp;gt;.*) Number of Libraries&lt;BR /&gt;EXTRACT-ProcessThreatVerificationStatus = Process Threat Verification Status =(?&amp;lt;ProcessThreatVerificationStatus&amp;gt;.*) Process Path&lt;/P&gt;&lt;P&gt;[virsec:process]&lt;BR /&gt;SHOULD_LINEMERGE=false&lt;BR /&gt;LINE_BREAKER=([\r\n]+)&lt;BR /&gt;MAX_TIMESTAMP_LOOKAHEAD=15&lt;BR /&gt;TIME_FORMAT=%b %d %H:%M:%S&lt;BR /&gt;EXTRACT-processpath = Process Path=(?&amp;lt;ProcessPath&amp;gt;.*) Canary No&lt;BR /&gt;EXTRACT-ParentProcessName = Parent Process Name=(?&amp;lt;ParentProcessName&amp;gt;.*) Process Threat&lt;BR /&gt;EXTRACT-ProcessName = \d\sProcess Name=(?&amp;lt;ProcessName&amp;gt;.*) Process Profile Id&lt;BR /&gt;EXTRACT-ProcessProfileName = Process Profile Name=(?&amp;lt;ProcessProfileName&amp;gt;.*) Number of Libraries&lt;BR /&gt;EXTRACT-ProcessThreatVerificationStatus = Process Threat Verification Status =(?&amp;lt;ProcessThreatVerificationStatus&amp;gt;.*) Process Path&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;transforms.conf&lt;BR /&gt;[virsec_library]&lt;BR /&gt;SOURCE_KEY = _raw&lt;BR /&gt;REGEX = (LibraryMonitoring|LibraryInjection|LibraryHijack)&lt;BR /&gt;DEST_KEY = MetaData:Sourcetype&lt;BR /&gt;FORMAT = sourcetype::virsec:library&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;[virsec_process]&lt;BR /&gt;SOURCE_KEY = _raw&lt;BR /&gt;REGEX = (ProcessMonitoring|ProcessInjection)&lt;BR /&gt;DEST_KEY = MetaData:Sourcetype&lt;BR /&gt;FORMAT = sourcetype::virsec:process&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;indexes.conf&lt;BR /&gt;[virsec]&lt;BR /&gt;homePath = $SPLUNK_DB/virsec/db&lt;BR /&gt;coldPath = $SPLUNK_DB/virsec/colddb&lt;BR /&gt;thawedPath = $SPLUNK_DB/virsec/thaweddb&lt;BR /&gt;maxDataSize = 10000&lt;BR /&gt;maxHotBuckets = 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 16:04:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-parse-Veeam-Logs/m-p/633029#M9283</guid>
      <dc:creator>sanglap666</dc:creator>
      <dc:date>2023-03-02T16:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Veeam Logs Parsing</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-parse-Veeam-Logs/m-p/633048#M9284</link>
      <description>&lt;P&gt;I think I understand the problem.&amp;nbsp; The application of props.conf settings is a single-pass operation.&amp;nbsp; If the sourcetype changes during that pass another pass for the new sourcetype is NOT performed.&lt;/P&gt;&lt;P&gt;The only way (that I know of) to process the new sourcetype is by using the CLONE_SOURCETYPE setting in transforms.conf.&amp;nbsp; That will, however, keep the original copy of the data in its current form.&lt;/P&gt;&lt;P&gt;You should be able to extract fields using a single sourcetype.&amp;nbsp; It looks like the only difference between the two sourcetypes is the words used to end some regexes.&amp;nbsp; Consider combining them.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[virsec_log]
SHOULD_LINEMERGE=false
LINE_BREAKER=([\r\n]+)
MAX_TIMESTAMP_LOOKAHEAD=15
TIME_FORMAT=%b %d %H:%M:%S
EXTRACT-processpath = Process Path=(?&amp;lt;ProcessPath&amp;gt;.*) (Library|Canary)
EXTRACT-ParentProcessName = Parent Process Name=(?&amp;lt;ParentProcessName&amp;gt;.*) Process Threat
EXTRACT-ProcessName = \d\sProcess Name=(?&amp;lt;ProcessName&amp;gt;.*) Process Profile Id
EXTRACT-ProcessProfileName = Process Profile Name=(?&amp;lt;ProcessProfileName&amp;gt;.*) Number of Libraries
EXTRACT-ProcessThreatVerificationStatus = Process Threat Verification Status =(?&amp;lt;ProcessThreatVerificationStatus&amp;gt;.*) Process Path
EXTRACT-LibraryName = Library Name=(?&amp;lt;LibraryName&amp;gt;.*) Start Time
EXTRACT-LibraryPath = Library Path=(?&amp;lt;LibraryPath&amp;gt;.*) Event Type&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 02 Mar 2023 19:33:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-parse-Veeam-Logs/m-p/633048#M9284</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-03-02T19:33:45Z</dc:date>
    </item>
  </channel>
</rss>

