<?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: Issue with file csv monitoring in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Issue-with-file-csv-monitoring/m-p/742810#M118002</link>
    <description>&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp; I have executed the command but nothing is visible relevant to my required starnza.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="uagraw01_0-1743075189033.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/38351i7BB5119BE337F8BC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="uagraw01_0-1743075189033.png" alt="uagraw01_0-1743075189033.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;FYI to you my current inputs setting.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;[monitor://E:\var\log\Bapto\BaptoEventsLog\SZC\000000000*-*-SZC.VIT.BaptoEvents.*]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;whitelist = \.csv$&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;disabled = false&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;index = Bapto&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;initCrcLength = 256&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;sourcetype = SZC_BaptoEvent&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;props.conf:&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;[SZC_BaptoEvent]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;SHOULD_LINEMERGE = false&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;#CHARSET = ISO-8859-1&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;TIME_FORMAT = %Y-%m-%d %H:%M:%S.%3N&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;MAX_TIMESTAMP_LOOKAHEAD = 23&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;TRANSFORMS-drop_header = remove_csv_header&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;TZ = UTC&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;[remove_csv_header]&lt;BR /&gt;REGEX =&amp;nbsp;^Timestamp;AlarmId;SenderType;SenderId;Severity;CreationTime;ComplexEventType;ExtraInfo&lt;BR /&gt;DEST_KEY = queue&lt;BR /&gt;FORMAT = nullQueue&lt;BR /&gt;&lt;BR /&gt;Sample of csv files to be monitor:&lt;BR /&gt;&lt;BR /&gt;Timestamp;AlarmId;SenderType;SenderId;Severity;CreationTime;ComplexEventType;ExtraInfo&lt;BR /&gt;2025-03-27 12:40:12.152;1526;Mpg;Shuttle_115;Information;2025-03-27 12:40:12.152;TetrisPlanningDelay;TetrisId: TetrisReservation_16_260544_bqixLeVr,ShuttleId: Shuttle_115,FirstDelaySection: A24.16,FirstSection: A8.16,LastSection: A24.16&lt;BR /&gt;2025-03-27 12:40:12.152;1526;Mpg;Shuttle_115;Unknown;2025-03-27 12:40:12.152;TetrisPlanningDelay;&lt;BR /&gt;2025-03-27 12:40:14.074;0;Shuttle;Shuttle_027;Unknown;2025-03-27 12:40:14.074;NoError;&lt;BR /&gt;2025-03-27 12:40:16.056;0;Shuttle;Shuttle_051;Unknown;2025-03-27 12:40:16.056;NoError;&lt;BR /&gt;2025-03-27 12:40:30.076;0;Shuttle;Shuttle_119;Unknown;2025-03-27 12:40:30.076;NoError;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Mar 2025 12:22:23 GMT</pubDate>
    <dc:creator>uagraw01</dc:creator>
    <dc:date>2025-03-27T12:22:23Z</dc:date>
    <item>
      <title>Issue with file csv monitoring</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issue-with-file-csv-monitoring/m-p/742784#M117994</link>
      <description>&lt;P&gt;Dear Splunkers!!&lt;BR /&gt;&lt;BR /&gt;I am facing an issue with Splunk file monitoring configuration. When I define the complete absolute path in the inputs.conf file, Splunk successfully monitors the files. Below are two examples of working stanza configurations:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Working Configurations:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[monitor://E:\var\log\Bapto\BaptoEventsLog\SZC\0000000002783979-2025-03-27T07-39-33-128Z-SZC.VIT.BaptoEvents.50301.csv]&lt;/P&gt;&lt;P&gt;[monitor://E:\var\log\Bapto\BaptoEventsLog\SZC\0000000002783446-2025-03-27T05-09-20-566Z-SZC.VIT.BaptoEvents.50296.csv]&lt;BR /&gt;However, since more than 200 files are generated, specifying absolute paths for each file is not feasible. To automate this, I attempted to use a wildcard pattern in the stanza, as shown below:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Non-Working Configuration:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[monitor://E:\var\log\Bapto\BaptoEventsLog\SZC\*.csv]&lt;BR /&gt;&lt;BR /&gt;Unfortunately, this approach does not ingest any files into Splunk. I would appreciate your guidance on resolving this issue.&lt;/P&gt;&lt;P&gt;Looking forward to your insights.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 09:34:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issue-with-file-csv-monitoring/m-p/742784#M117994</guid>
      <dc:creator>uagraw01</dc:creator>
      <dc:date>2025-03-27T09:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with file csv monitoring</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issue-with-file-csv-monitoring/m-p/742785#M117995</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/70277"&gt;@uagraw01&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;what about using only* instead *,csv?&lt;/P&gt;&lt;P&gt;then, did you tried with whitelist option instead of inserting the file in the input stanza?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 09:49:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issue-with-file-csv-monitoring/m-p/742785#M117995</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2025-03-27T09:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with file csv monitoring</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issue-with-file-csv-monitoring/m-p/742788#M117996</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/70277"&gt;@uagraw01&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you can also change your stanza to this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[monitor://E:\var\log\Bapto\BaptoEventsLog\SZC\]
whitelist = \.csv$&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 10:00:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issue-with-file-csv-monitoring/m-p/742788#M117996</guid>
      <dc:creator>vsommer</dc:creator>
      <dc:date>2025-03-27T10:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with file csv monitoring</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issue-with-file-csv-monitoring/m-p/742795#M117998</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/197871"&gt;@vsommer&lt;/a&gt;&amp;nbsp;I have tried your suggested one but still no luck found.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;[monitor://E:\var\log\Bapto\BaptoEventsLog\SZC\]
whitelist = \.csv$&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 10:31:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issue-with-file-csv-monitoring/m-p/742795#M117998</guid>
      <dc:creator>uagraw01</dc:creator>
      <dc:date>2025-03-27T10:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with file csv monitoring</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issue-with-file-csv-monitoring/m-p/742799#M117999</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;Yes, I have tries but nothing works.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 10:49:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issue-with-file-csv-monitoring/m-p/742799#M117999</guid>
      <dc:creator>uagraw01</dc:creator>
      <dc:date>2025-03-27T10:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with file csv monitoring</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issue-with-file-csv-monitoring/m-p/742804#M118000</link>
      <description>&lt;PRE&gt;splunk list inputstatus&lt;BR /&gt;&lt;BR /&gt;splunk list monitor&lt;/PRE&gt;&lt;P&gt;What do these two have to say?&lt;/P&gt;&lt;P&gt;Since you're ingesting csv files which have fixed headers there's a fat chance crcs match and files are&amp;nbsp; ot ingested because are treated as already seen. Might want to increase initCrcLength (or fiddle with crcSalt but that's the last resort).&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 11:00:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issue-with-file-csv-monitoring/m-p/742804#M118000</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-03-27T11:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with file csv monitoring</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issue-with-file-csv-monitoring/m-p/742810#M118002</link>
      <description>&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp; I have executed the command but nothing is visible relevant to my required starnza.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="uagraw01_0-1743075189033.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/38351i7BB5119BE337F8BC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="uagraw01_0-1743075189033.png" alt="uagraw01_0-1743075189033.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;FYI to you my current inputs setting.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;[monitor://E:\var\log\Bapto\BaptoEventsLog\SZC\000000000*-*-SZC.VIT.BaptoEvents.*]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;whitelist = \.csv$&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;disabled = false&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;index = Bapto&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;initCrcLength = 256&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;sourcetype = SZC_BaptoEvent&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;props.conf:&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;[SZC_BaptoEvent]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;SHOULD_LINEMERGE = false&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;#CHARSET = ISO-8859-1&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;TIME_FORMAT = %Y-%m-%d %H:%M:%S.%3N&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;MAX_TIMESTAMP_LOOKAHEAD = 23&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;TRANSFORMS-drop_header = remove_csv_header&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;TZ = UTC&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;[remove_csv_header]&lt;BR /&gt;REGEX =&amp;nbsp;^Timestamp;AlarmId;SenderType;SenderId;Severity;CreationTime;ComplexEventType;ExtraInfo&lt;BR /&gt;DEST_KEY = queue&lt;BR /&gt;FORMAT = nullQueue&lt;BR /&gt;&lt;BR /&gt;Sample of csv files to be monitor:&lt;BR /&gt;&lt;BR /&gt;Timestamp;AlarmId;SenderType;SenderId;Severity;CreationTime;ComplexEventType;ExtraInfo&lt;BR /&gt;2025-03-27 12:40:12.152;1526;Mpg;Shuttle_115;Information;2025-03-27 12:40:12.152;TetrisPlanningDelay;TetrisId: TetrisReservation_16_260544_bqixLeVr,ShuttleId: Shuttle_115,FirstDelaySection: A24.16,FirstSection: A8.16,LastSection: A24.16&lt;BR /&gt;2025-03-27 12:40:12.152;1526;Mpg;Shuttle_115;Unknown;2025-03-27 12:40:12.152;TetrisPlanningDelay;&lt;BR /&gt;2025-03-27 12:40:14.074;0;Shuttle;Shuttle_027;Unknown;2025-03-27 12:40:14.074;NoError;&lt;BR /&gt;2025-03-27 12:40:16.056;0;Shuttle;Shuttle_051;Unknown;2025-03-27 12:40:16.056;NoError;&lt;BR /&gt;2025-03-27 12:40:30.076;0;Shuttle;Shuttle_119;Unknown;2025-03-27 12:40:30.076;NoError;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 12:22:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issue-with-file-csv-monitoring/m-p/742810#M118002</guid>
      <dc:creator>uagraw01</dc:creator>
      <dc:date>2025-03-27T12:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with file csv monitoring</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issue-with-file-csv-monitoring/m-p/742813#M118004</link>
      <description>&lt;P&gt;OK. You should have entries higher up regarding your wildcarded entries.&lt;/P&gt;&lt;P&gt;They will be shown under Monitored directories.&lt;/P&gt;&lt;P&gt;And inputstatus should show you the files with their status (where the input is or why are not ingested).&lt;/P&gt;&lt;P&gt;On linux you might just do | grep -C 10 BaptoEvents to limit the output dump only to relevant entries but since you're on windows, you have to use your PS-fu or cmd-fu.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 13:02:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issue-with-file-csv-monitoring/m-p/742813#M118004</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-03-27T13:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with file csv monitoring</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issue-with-file-csv-monitoring/m-p/742838#M118011</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/70277"&gt;@uagraw01&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some interesting info at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/data/Specifyinputpathswithwildcards" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/latest/data/Specifyinputpathswithwildcards&lt;/A&gt;&amp;nbsp;if you havent already seen it.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;On Windows, if you specify the [monitor://C:\Windows\foo\bar*.log] stanza in the inputs.conf file, Splunk Enterprise translates the path into this:

[monitor://C:\Windows\foo\]
whitelist = bar[^\\]*\.log$
In Windows, allow list and deny list rules don't support regular expressions that include backslashes. Use two backslashes (\\) to escape wildcards.&lt;/LI-CODE&gt;&lt;P&gt;This means&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[monitor://E:\var\log\Bapto\BaptoEventsLog\SZC\*.csv]

becomes

[monitor://E:\var\log\Bapto\BaptoEventsLog\SZC\]
whitelist = [^\\]*\.csv$&lt;/LI-CODE&gt;&lt;P&gt;Im wondering if this whitelist is being overwritten somehow, have you specified any whitelist?&lt;/P&gt;&lt;P&gt;It might be worth trying the following input to see if this works, basically explicitly setting the whitelist to what its expecting.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[monitor://E:\var\log\Bapto\BaptoEventsLog\SZC\]
whitelist = [^\\]*\.csv$&lt;/LI-CODE&gt;&lt;P&gt;Please let me know how you get on and consider adding karma to this or any other answer if it has helped.&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Will&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 16:00:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issue-with-file-csv-monitoring/m-p/742838#M118011</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-03-27T16:00:17Z</dc:date>
    </item>
  </channel>
</rss>

