<?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: Why is Powershell generated CSV data that is monitored only getting indexed once and is not indexed again until a Splunk restart? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Powershell-generated-CSV-data-that-is-monitored-only/m-p/206827#M40819</link>
    <description>&lt;P&gt;Try a monitorNoHandle stanza instead of just monitor.  (&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.3/Data/Monitorfilesanddirectories"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.3/Data/Monitorfilesanddirectories&lt;/A&gt;)&lt;/P&gt;</description>
    <pubDate>Fri, 23 Sep 2016 13:56:43 GMT</pubDate>
    <dc:creator>lycollicott</dc:creator>
    <dc:date>2016-09-23T13:56:43Z</dc:date>
    <item>
      <title>Why is Powershell generated CSV data that is monitored only getting indexed once and is not indexed again until a Splunk restart?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Powershell-generated-CSV-data-that-is-monitored-only/m-p/206826#M40818</link>
      <description>&lt;P&gt;I've got an extremely frustrating problem here, at my wit's end and finally coming here.&lt;/P&gt;

&lt;P&gt;I've got CSV files being generated by Powershell every 15 minutes. Splunk is set to look at the directory and pull in the CSV files' data. It pulls it in ONCE, and then does not pull the data in again until after Splunk is restarted. What on earth is going on here?&lt;/P&gt;

&lt;P&gt;The CSV files look like this, for example: &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;2016-09-22-13-56-sfbClientConnections.csv&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;First few lines of the CSV look like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"Time","Username","ClientVersion","Fqdn"
"2016-09-22-13:56","user1@domain.com","UCCAPI/15.0.4849.1000 OC/15.0.4849.1000 (Skype for Business)","server1"
"2016-09-22-13:56","user2@domain.com","UCCAPI/15.0.4849.1000 OC/15.0.4849.1000 (Skype for Business)","server2"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;inputs.conf looks like this...I've tried with and without the crcSalt:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://C:\Scripts\SkypeForBusinessClientConnections\logs\*csv]
disabled = false
host = mailmon2
index = sfb
sourcetype = HydroMessaging:SFB:ClientConnections
crcSalt = &amp;lt;SOURCE&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;props.conf looks like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[HydroMessaging:SFB:ClientConnections]
NO_BINARY_CHECK = 1
pulldown_type = 1
HEADER_MODE = firstline
FIELD_DELIMITER=,
FIELD_QUOTE="
TIME_FORMAT=%Y-%m-%d-%H:%M
TIMESTAMP_FIELDS=Time
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 22 Sep 2016 19:05:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Powershell-generated-CSV-data-that-is-monitored-only/m-p/206826#M40818</guid>
      <dc:creator>jamesklassen</dc:creator>
      <dc:date>2016-09-22T19:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Powershell generated CSV data that is monitored only getting indexed once and is not indexed again until a Splunk restart?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Powershell-generated-CSV-data-that-is-monitored-only/m-p/206827#M40819</link>
      <description>&lt;P&gt;Try a monitorNoHandle stanza instead of just monitor.  (&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.3/Data/Monitorfilesanddirectories"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.3/Data/Monitorfilesanddirectories&lt;/A&gt;)&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2016 13:56:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Powershell-generated-CSV-data-that-is-monitored-only/m-p/206827#M40819</guid>
      <dc:creator>lycollicott</dc:creator>
      <dc:date>2016-09-23T13:56:43Z</dc:date>
    </item>
  </channel>
</rss>

