<?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: No date_wday from U.F. collecting windows event logs in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/No-date-wday-from-U-F-collecting-windows-event-logs/m-p/95701#M24689</link>
    <description>&lt;P&gt;This is Great Stuff&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 20 Oct 2011 21:08:56 GMT</pubDate>
    <dc:creator>hartfoml</dc:creator>
    <dc:date>2011-10-20T21:08:56Z</dc:date>
    <item>
      <title>No date_wday from U.F. collecting windows event logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/No-date-wday-from-U-F-collecting-windows-event-logs/m-p/95696#M24684</link>
      <description>&lt;P&gt;I was collecting windows event logs using agent less Splunk server through remote WMI calls and the "sourcetype=WMI:WinEventLog:*" _raw data had a date format like this "20111020135801.037162"&lt;BR /&gt;
Splunk indexed the data with the customary date formats to include date_wday&lt;/P&gt;

&lt;P&gt;I have recently switched to U.F. collection and the locally collected and forwarded "sourcetype=WinEventLog:*" _raw data has a date format like this "10/20/11 2:08:42.000 PM" which does not include the date_wday.&lt;/P&gt;

&lt;P&gt;I am assuming that this date format is preprocessed at the U.F. before sending.&lt;/P&gt;

&lt;P&gt;Some of my reports are dependent on the day of the week because maintenance night is Wednesday.&lt;/P&gt;

&lt;P&gt;How do I get date_wday and the others back into my U.F. “sourcetype=WinEventLog:*" data?&lt;/P&gt;

&lt;P&gt;By the way,  I am also collecting WMI data locally on the U.F. and the date format is not preprocessed at the U.F. so the date formats are derived correctly during indexing.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2011 19:20:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/No-date-wday-from-U-F-collecting-windows-event-logs/m-p/95696#M24684</guid>
      <dc:creator>hartfoml</dc:creator>
      <dc:date>2011-10-20T19:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: No date_wday from U.F. collecting windows event logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/No-date-wday-from-U-F-collecting-windows-event-logs/m-p/95697#M24685</link>
      <description>&lt;P&gt;This (unfortunately) seems to be more or less expected behaviour, as per the response received from support in this question: &lt;A href="http://splunk-base.splunk.com/answers/30822/date_hour-not-present-in-wineventlogs"&gt;http://splunk-base.splunk.com/answers/30822/date_hour-not-present-in-wineventlogs&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;As you can see on the same page, there are workarounds you can use for getting &lt;CODE&gt;date_wday&lt;/CODE&gt; in other ways instead.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2011 19:29:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/No-date-wday-from-U-F-collecting-windows-event-logs/m-p/95697#M24685</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2011-10-20T19:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: No date_wday from U.F. collecting windows event logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/No-date-wday-from-U-F-collecting-windows-event-logs/m-p/95698#M24686</link>
      <description>&lt;P&gt;Thanks this was very helpful&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2011 19:35:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/No-date-wday-from-U-F-collecting-windows-event-logs/m-p/95698#M24686</guid>
      <dc:creator>hartfoml</dc:creator>
      <dc:date>2011-10-20T19:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: No date_wday from U.F. collecting windows event logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/No-date-wday-from-U-F-collecting-windows-event-logs/m-p/95699#M24687</link>
      <description>&lt;P&gt;Ayn,&lt;/P&gt;

&lt;P&gt;I saw your other post for date_hour.  Could I trouble you to help with the code for date_wday.  Pretty Please, Splunk Master!!!&lt;/P&gt;

&lt;P&gt;Mike H.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 10:00:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/No-date-wday-from-U-F-collecting-windows-event-logs/m-p/95699#M24687</guid>
      <dc:creator>hartfoml</dc:creator>
      <dc:date>2020-09-28T10:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: No date_wday from U.F. collecting windows event logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/No-date-wday-from-U-F-collecting-windows-event-logs/m-p/95700#M24688</link>
      <description>&lt;P&gt;For getting &lt;CODE&gt;date_wday&lt;/CODE&gt; using &lt;CODE&gt;strftime&lt;/CODE&gt;, use the %A directive. Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval date_wday = strftime(_time, "%A")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For more &lt;CODE&gt;strftime&lt;/CODE&gt; directives, see for instance &lt;A href="http://strftime.org/"&gt;http://strftime.org/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2011 19:56:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/No-date-wday-from-U-F-collecting-windows-event-logs/m-p/95700#M24688</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2011-10-20T19:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: No date_wday from U.F. collecting windows event logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/No-date-wday-from-U-F-collecting-windows-event-logs/m-p/95701#M24689</link>
      <description>&lt;P&gt;This is Great Stuff&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2011 21:08:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/No-date-wday-from-U-F-collecting-windows-event-logs/m-p/95701#M24689</guid>
      <dc:creator>hartfoml</dc:creator>
      <dc:date>2011-10-20T21:08:56Z</dc:date>
    </item>
  </channel>
</rss>

