<?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 Security Essentials: Scheduled Tasks in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Security-Essentials-Scheduled-Tasks/m-p/589411#M76348</link>
    <description>&lt;P&gt;I hope this is the right place to post this if not please let me know where to post it. There are multiple use-cases for Task Scheduler in the SSE app, my question pertains to all that are based on EventID=4698&lt;/P&gt;&lt;P&gt;None of these searches seem to work in my environment out of box, I checked and my Windows TA is up to date. Not sure if there is another TA required? Here is on as an example and how I fixed it:&lt;/P&gt;&lt;P&gt;`wineventlog_security` EventCode=4698&lt;BR /&gt;| xmlkv Message&lt;BR /&gt;| search Command IN ("*\\users\\public\\*", "*\\programdata\\*", "*\\temp\\*", "*\\Windows\\Tasks\\*", "*\\appdata\\*")&lt;BR /&gt;| stats count min(_time) as firstTime max(_time) as lastTime by dest, Task_Name, Command, Author, Enabled, Hidden&lt;BR /&gt;| `security_content_ctime(firstTime)`&lt;BR /&gt;| `security_content_ctime(lastTime)`&lt;BR /&gt;| `winevent_scheduled_task_created_within_public_path_filter`&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To fix this query I ended up changing line 2 to:&lt;BR /&gt;| xmlkv TaskContent&lt;/P&gt;&lt;P&gt;And line 4 to:&lt;BR /&gt;| stats count min(_time) as firstTime max(_time) as lastTime by dest, TaskName, Command, Author, Enabled, Hidden, Arguments&lt;/P&gt;&lt;P&gt;I dont know if I am missing something or if this is broken out of the box, if so is there somewhere to report this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Mar 2022 21:07:45 GMT</pubDate>
    <dc:creator>BluFalcon</dc:creator>
    <dc:date>2022-03-16T21:07:45Z</dc:date>
    <item>
      <title>Splunk Security Essentials: Scheduled Tasks</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Security-Essentials-Scheduled-Tasks/m-p/589411#M76348</link>
      <description>&lt;P&gt;I hope this is the right place to post this if not please let me know where to post it. There are multiple use-cases for Task Scheduler in the SSE app, my question pertains to all that are based on EventID=4698&lt;/P&gt;&lt;P&gt;None of these searches seem to work in my environment out of box, I checked and my Windows TA is up to date. Not sure if there is another TA required? Here is on as an example and how I fixed it:&lt;/P&gt;&lt;P&gt;`wineventlog_security` EventCode=4698&lt;BR /&gt;| xmlkv Message&lt;BR /&gt;| search Command IN ("*\\users\\public\\*", "*\\programdata\\*", "*\\temp\\*", "*\\Windows\\Tasks\\*", "*\\appdata\\*")&lt;BR /&gt;| stats count min(_time) as firstTime max(_time) as lastTime by dest, Task_Name, Command, Author, Enabled, Hidden&lt;BR /&gt;| `security_content_ctime(firstTime)`&lt;BR /&gt;| `security_content_ctime(lastTime)`&lt;BR /&gt;| `winevent_scheduled_task_created_within_public_path_filter`&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To fix this query I ended up changing line 2 to:&lt;BR /&gt;| xmlkv TaskContent&lt;/P&gt;&lt;P&gt;And line 4 to:&lt;BR /&gt;| stats count min(_time) as firstTime max(_time) as lastTime by dest, TaskName, Command, Author, Enabled, Hidden, Arguments&lt;/P&gt;&lt;P&gt;I dont know if I am missing something or if this is broken out of the box, if so is there somewhere to report this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 21:07:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Security-Essentials-Scheduled-Tasks/m-p/589411#M76348</guid>
      <dc:creator>BluFalcon</dc:creator>
      <dc:date>2022-03-16T21:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Security Essentials: Scheduled Tasks</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Security-Essentials-Scheduled-Tasks/m-p/589508#M76360</link>
      <description>&lt;P&gt;First, make sure you have the most recent version of the app.&amp;nbsp; If the errors still exist, file a case with Splunk since that is a supported app.&amp;nbsp; See&amp;nbsp;&lt;A href="https://splunkcommunities.force.com/customers/apex/SubmitCase" target="_blank"&gt;https://splunkcommunities.force.com/customers/apex/SubmitCase&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 12:41:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Security-Essentials-Scheduled-Tasks/m-p/589508#M76360</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-03-17T12:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Security Essentials: Scheduled Tasks</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Security-Essentials-Scheduled-Tasks/m-p/589528#M76362</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 14:04:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Security-Essentials-Scheduled-Tasks/m-p/589528#M76362</guid>
      <dc:creator>BluFalcon</dc:creator>
      <dc:date>2022-03-17T14:04:43Z</dc:date>
    </item>
  </channel>
</rss>

