<?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 ESXi Events Splitting line by line in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/ESXi-Events-Splitting-line-by-line/m-p/215888#M42463</link>
    <description>&lt;P&gt;Splunk is splitting each line into an event instead of grouping the whole block as one event. I've tried a few fixes for this host in C:\Program Files\Splunk\etc\system\local\props.conf. (I removed the actual IP below and replaced it with "hostname")&lt;/P&gt;

&lt;P&gt;My ESXi host's hostd logs on the host look like below:&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;2016-08-08T19:16:29.145Z [3C481B70 error 'SoapAdapter']&lt;BR /&gt;
--&amp;gt; Required parameter querySpec is missing&lt;BR /&gt;
--&amp;gt;&lt;BR /&gt;
--&amp;gt; while parsing call information for method QueryPerf&lt;BR /&gt;
--&amp;gt; at line 1, column 285&lt;BR /&gt;
--&amp;gt;&lt;BR /&gt;
--&amp;gt; while parsing SOAP body&lt;BR /&gt;
--&amp;gt; at line 1, column 271&lt;BR /&gt;
--&amp;gt;&lt;BR /&gt;
--&amp;gt; while parsing SOAP envelope&lt;BR /&gt;
--&amp;gt; at line 1, column 38&lt;BR /&gt;
--&amp;gt;&lt;BR /&gt;
--&amp;gt; while parsing HTTP request for method queryStats&lt;BR /&gt;
--&amp;gt; on object of type vim.PerformanceManager&lt;BR /&gt;
--&amp;gt; at line 1, column 0&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;My props.conf additions look like the below:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;This did nothing - events came in the same&lt;/STRONG&gt;&lt;BR /&gt;
[host::hostname]&lt;BR /&gt;
BREAK_ONLY_BEFORE_DATE = true&lt;BR /&gt;
SHOULD_LINEMERGE = true&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;No difference once again&lt;/STRONG&gt;&lt;BR /&gt;
[host::hostname]&lt;BR /&gt;
TIME_PREFIX = (\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z)&lt;BR /&gt;
BREAK_ONLY_BEFORE_DATE = true&lt;BR /&gt;
SHOULD_LINEMERGE = true&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;This one removed the dates, but still broke it out on each line&lt;/STRONG&gt;&lt;BR /&gt;
[host::hostname]&lt;BR /&gt;
LINE_BREAKER = (\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z)&lt;/P&gt;

&lt;P&gt;Any ideas what I can do next? It seems like Splunk is finding a timestamp on each line, but I don't see where it's getting that.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 10:32:39 GMT</pubDate>
    <dc:creator>ironalsa</dc:creator>
    <dc:date>2020-09-29T10:32:39Z</dc:date>
    <item>
      <title>ESXi Events Splitting line by line</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/ESXi-Events-Splitting-line-by-line/m-p/215888#M42463</link>
      <description>&lt;P&gt;Splunk is splitting each line into an event instead of grouping the whole block as one event. I've tried a few fixes for this host in C:\Program Files\Splunk\etc\system\local\props.conf. (I removed the actual IP below and replaced it with "hostname")&lt;/P&gt;

&lt;P&gt;My ESXi host's hostd logs on the host look like below:&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;2016-08-08T19:16:29.145Z [3C481B70 error 'SoapAdapter']&lt;BR /&gt;
--&amp;gt; Required parameter querySpec is missing&lt;BR /&gt;
--&amp;gt;&lt;BR /&gt;
--&amp;gt; while parsing call information for method QueryPerf&lt;BR /&gt;
--&amp;gt; at line 1, column 285&lt;BR /&gt;
--&amp;gt;&lt;BR /&gt;
--&amp;gt; while parsing SOAP body&lt;BR /&gt;
--&amp;gt; at line 1, column 271&lt;BR /&gt;
--&amp;gt;&lt;BR /&gt;
--&amp;gt; while parsing SOAP envelope&lt;BR /&gt;
--&amp;gt; at line 1, column 38&lt;BR /&gt;
--&amp;gt;&lt;BR /&gt;
--&amp;gt; while parsing HTTP request for method queryStats&lt;BR /&gt;
--&amp;gt; on object of type vim.PerformanceManager&lt;BR /&gt;
--&amp;gt; at line 1, column 0&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;My props.conf additions look like the below:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;This did nothing - events came in the same&lt;/STRONG&gt;&lt;BR /&gt;
[host::hostname]&lt;BR /&gt;
BREAK_ONLY_BEFORE_DATE = true&lt;BR /&gt;
SHOULD_LINEMERGE = true&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;No difference once again&lt;/STRONG&gt;&lt;BR /&gt;
[host::hostname]&lt;BR /&gt;
TIME_PREFIX = (\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z)&lt;BR /&gt;
BREAK_ONLY_BEFORE_DATE = true&lt;BR /&gt;
SHOULD_LINEMERGE = true&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;This one removed the dates, but still broke it out on each line&lt;/STRONG&gt;&lt;BR /&gt;
[host::hostname]&lt;BR /&gt;
LINE_BREAKER = (\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z)&lt;/P&gt;

&lt;P&gt;Any ideas what I can do next? It seems like Splunk is finding a timestamp on each line, but I don't see where it's getting that.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:32:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/ESXi-Events-Splitting-line-by-line/m-p/215888#M42463</guid>
      <dc:creator>ironalsa</dc:creator>
      <dc:date>2020-09-29T10:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: ESXi Events Splitting line by line</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/ESXi-Events-Splitting-line-by-line/m-p/215889#M42464</link>
      <description>&lt;P&gt;Is the IP address what you see in the host field when you search your esxi log data?  Thats the value you have to put into the hostname in [host::hostname].  You might want to consider just using a sourcetype instead, that way any esxi logs can be treated the same way.  &lt;/P&gt;

&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[host::hostname]
LINE_BREAKER=(\v+)(\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}
SHOULD_LINEMERGE=False
TIME_FORMAT=%FT%H:%M:%S.%3N
TIME_PREFIX=^
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Aug 2016 05:46:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/ESXi-Events-Splitting-line-by-line/m-p/215889#M42464</guid>
      <dc:creator>Jeremiah</dc:creator>
      <dc:date>2016-08-09T05:46:50Z</dc:date>
    </item>
  </channel>
</rss>

