<?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: parsing _internal logs in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/parsing-internal-logs/m-p/659425#M227685</link>
    <description>&lt;P&gt;Try it like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "Context: source::(?P&amp;lt;sourcetypeissue&amp;gt;\w+)\Shost::(?P&amp;lt;sourcehost&amp;gt;\w+)"&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 03 Oct 2023 12:14:53 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2023-10-03T12:14:53Z</dc:date>
    <item>
      <title>parsing _internal logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/parsing-internal-logs/m-p/659422#M227684</link>
      <description>&lt;P&gt;Hi Fellow Splunkers,&lt;/P&gt;&lt;P&gt;Have a hopefully quick question:&lt;BR /&gt;&lt;BR /&gt;Want to pull out the &lt;EM&gt;&lt;STRONG&gt;source&lt;/STRONG&gt;&lt;/EM&gt; and &lt;EM&gt;&lt;STRONG&gt;host&lt;/STRONG&gt;&lt;/EM&gt; from the Windows &lt;EM&gt;_internal&lt;/EM&gt; splunk logs, but my rex (cribbed from a post on here) isn't working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;index=_internal host IN (spfrd1, spfrd2) source="*\\Splunk\\var\\log\\splunk\\splunkd.log" component=DateParserVerbose 
| rex "Context: source=(?P&amp;lt;sourcetypeissue&amp;gt;\w+)\Shost=(?P&amp;lt;sourcehost&amp;gt;\w+)" 
| stats list(sourcetypeissue) as file_name list(sourcehost)
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I get no stats, my events look like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;08-24-2022 07:50:20.383 -0400 WARN  DateParserVerbose - Failed to parse timestamp in first MAX_TIMESTAMP_LOOKAHEAD (128) characters of event. Defaulting to timestamp of previous event (Sun Aug 24 07:49:58 2022). Context: source::WMI:WinEventLog:Security|host::SPFRD1|WMI:WinEventLog:Security|1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2023 11:58:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/parsing-internal-logs/m-p/659422#M227684</guid>
      <dc:creator>JohnEGones</dc:creator>
      <dc:date>2023-10-03T11:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: parsing _internal logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/parsing-internal-logs/m-p/659425#M227685</link>
      <description>&lt;P&gt;Try it like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "Context: source::(?P&amp;lt;sourcetypeissue&amp;gt;\w+)\Shost::(?P&amp;lt;sourcehost&amp;gt;\w+)"&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 03 Oct 2023 12:14:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/parsing-internal-logs/m-p/659425#M227685</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-10-03T12:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: parsing _internal logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/parsing-internal-logs/m-p/659426#M227686</link>
      <description>&lt;P&gt;ITWhisperer,&lt;/P&gt;&lt;P&gt;Yeah that doesn't work but now I realize its because there is a file path reference:&lt;BR /&gt;&lt;BR /&gt;source::X:\logs\&lt;EM&gt;[some IP]&lt;/EM&gt;\log123.txt|host::&lt;EM&gt;[host]&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2023 12:24:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/parsing-internal-logs/m-p/659426#M227686</guid>
      <dc:creator>JohnEGones</dc:creator>
      <dc:date>2023-10-03T12:24:50Z</dc:date>
    </item>
  </channel>
</rss>

