<?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: How to parse Microsoft-Windows-TaskScheduler/Operational logs? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-Microsoft-Windows-TaskScheduler-Operational-logs/m-p/369034#M67009</link>
    <description>&lt;P&gt;This worked, thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 23 Mar 2017 14:38:20 GMT</pubDate>
    <dc:creator>kinkster</dc:creator>
    <dc:date>2017-03-23T14:38:20Z</dc:date>
    <item>
      <title>How to parse Microsoft-Windows-TaskScheduler/Operational logs?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-Microsoft-Windows-TaskScheduler-Operational-logs/m-p/369032#M67007</link>
      <description>&lt;P&gt;Can someone help me out with a regular expression to parse Microsoft-Windows-TaskScheduler/Operational logs? I don't think I am the first to want to extract fields from this log? I am pulling in the above logs. I tried renderxml=true and renderxml=false.&lt;/P&gt;

&lt;P&gt;I ran into this error below when trying to extract manually and the solution is to use my own regular expression.&lt;BR /&gt;
The extraction failed. If you are extracting multiple fields, try removing one or more fields. Start with extractions that are embedded within longer text strings.&lt;/P&gt;

&lt;P&gt;An example of the line I am trying to extract values is:  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Message=Task Scheduler started "{CD0B4355-0A74-4D11-A816-04E3C5B138C5}" instance of the "\Adobe Flash Player Updater" task for user "contso\system301$"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I want to extract "\Adobe Flash Player Updater" as TaskName and "contso\system301$" as TaskUser.&lt;/P&gt;

&lt;P&gt;Any help is appreciated. &lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2017 21:57:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-Microsoft-Windows-TaskScheduler-Operational-logs/m-p/369032#M67007</guid>
      <dc:creator>kinkster</dc:creator>
      <dc:date>2017-03-21T21:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to parse Microsoft-Windows-TaskScheduler/Operational logs?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-Microsoft-Windows-TaskScheduler-Operational-logs/m-p/369033#M67008</link>
      <description>&lt;P&gt;Try this untested query.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | rex field=Message "(?&amp;lt;TaskName&amp;gt;\"[^\"]+\")\stask\sfor\suser\s(?&amp;lt;TaskUser&amp;gt;\"[^\"]+\")" | ...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Mar 2017 22:32:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-Microsoft-Windows-TaskScheduler-Operational-logs/m-p/369033#M67008</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-03-21T22:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to parse Microsoft-Windows-TaskScheduler/Operational logs?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-Microsoft-Windows-TaskScheduler-Operational-logs/m-p/369034#M67009</link>
      <description>&lt;P&gt;This worked, thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 14:38:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-Microsoft-Windows-TaskScheduler-Operational-logs/m-p/369034#M67009</guid>
      <dc:creator>kinkster</dc:creator>
      <dc:date>2017-03-23T14:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to parse Microsoft-Windows-TaskScheduler/Operational logs?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-Microsoft-Windows-TaskScheduler-Operational-logs/m-p/369035#M67010</link>
      <description>&lt;P&gt;Cool.  Please accept the answer.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 21:04:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-parse-Microsoft-Windows-TaskScheduler-Operational-logs/m-p/369035#M67010</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-03-23T21:04:32Z</dc:date>
    </item>
  </channel>
</rss>

