<?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: Ingest whole file in a single event. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Ingest-whole-file-in-a-single-event/m-p/520592#M87984</link>
    <description>&lt;P&gt;I guess that worked. I found these settings in &lt;STRONG&gt;inputs.conf&lt;/STRONG&gt; file and not in props.conf file.&lt;/P&gt;&lt;P&gt;Thanks.!&lt;/P&gt;</description>
    <pubDate>Mon, 21 Sep 2020 11:47:17 GMT</pubDate>
    <dc:creator>VatsalJagani</dc:creator>
    <dc:date>2020-09-21T11:47:17Z</dc:date>
    <item>
      <title>Ingest whole file in a single event.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Ingest-whole-file-in-a-single-event/m-p/520348#M87963</link>
      <description>&lt;DIV class="p-rich_text_section"&gt;I'm reading a file that is being overridden by a PowerShell script. (no append in the file)&lt;/DIV&gt;&lt;DIV class="p-rich_text_section"&gt;The PowerShell script is using &lt;STRONG&gt;Out-File&lt;/STRONG&gt; command to write the content to the file.&lt;/DIV&gt;&lt;DIV class="p-rich_text_section"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="p-rich_text_section"&gt;Sample content:&lt;/DIV&gt;&lt;PRE&gt;Domain Profile Settings:&lt;BR /&gt;----------------------------------------------------------------------&lt;BR /&gt;State                                 ONPrivate Profile Settings:&lt;BR /&gt;----------------------------------------------------------------------&lt;BR /&gt;State                                 ONPublic Profile Settings:&lt;BR /&gt;----------------------------------------------------------------------&lt;BR /&gt;State                                 ON&lt;BR /&gt;Ok.&lt;/PRE&gt;&lt;DIV class="p-rich_text_section"&gt;props.conf file&lt;/DIV&gt;&lt;PRE&gt;###### FirewallStatus ######&lt;BR /&gt;[source::...FirewallStatus.Log]&lt;BR /&gt;sourcetype = FirewallStatusLog&lt;BR /&gt;CHECK_METHOD = modtime&lt;/PRE&gt;&lt;PRE&gt;[FirewallStatusLog]&lt;BR /&gt;SHOULD_LINEMERGE = true&lt;BR /&gt;BREAK_ONLY_BEFORE= neverbreak&lt;BR /&gt;DATETIME_CONFIG = NONE&lt;BR /&gt;pulldown_type = true&lt;/PRE&gt;&lt;DIV class="p-rich_text_section"&gt;inputs.conf file&lt;/DIV&gt;&lt;PRE&gt;[monitor://$SPLUNK_HOME\var\log\custom\FirewallStatus.log]&lt;BR /&gt;disabled = 0&lt;BR /&gt;sourcetype = FirewallStatusLog&lt;/PRE&gt;&lt;DIV class="p-rich_text_section"&gt;In my case at the first time content comes in a single event but the next time when file gets updated,&lt;SPAN&gt;&amp;nbsp;the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;content got broken into two events&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;by Splunk.&lt;BR /&gt;On a side note, it does not ingest events on all the update, if there is no update in the content. (That might be okay, I may create a lookup, this is no big deal)&lt;/DIV&gt;</description>
      <pubDate>Fri, 18 Sep 2020 15:11:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Ingest-whole-file-in-a-single-event/m-p/520348#M87963</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2020-09-18T15:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Ingest whole file in a single event.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Ingest-whole-file-in-a-single-event/m-p/520357#M87965</link>
      <description>&lt;P&gt;The normal process for &lt;FONT face="courier new,courier"&gt;monitor&lt;/FONT&gt; inputs is to index events as they are added to the file.&amp;nbsp; Splunk keeps track of its position in the file so events are not duplicated in the index.&lt;/P&gt;&lt;P&gt;If you need later updates to be included in the same event, consider having Splunk wait for additional data before indexing the file.&amp;nbsp; See the&amp;nbsp;&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="fontstyle0"&gt;multiline_event_extra_waittime&lt;/SPAN&gt;&amp;nbsp;&lt;/FONT&gt;and&amp;nbsp; &lt;FONT face="courier new,courier"&gt;&lt;SPAN class="fontstyle0"&gt;time_before_close&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;settings in props.conf.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2020 17:13:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Ingest-whole-file-in-a-single-event/m-p/520357#M87965</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-09-18T17:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Ingest whole file in a single event.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Ingest-whole-file-in-a-single-event/m-p/520592#M87984</link>
      <description>&lt;P&gt;I guess that worked. I found these settings in &lt;STRONG&gt;inputs.conf&lt;/STRONG&gt; file and not in props.conf file.&lt;/P&gt;&lt;P&gt;Thanks.!&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 11:47:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Ingest-whole-file-in-a-single-event/m-p/520592#M87984</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2020-09-21T11:47:17Z</dc:date>
    </item>
  </channel>
</rss>

