<?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: Splunk monitor mode query in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-monitor-mode-query/m-p/196190#M39028</link>
    <description>&lt;P&gt;It has to be written as it is (string literal). And don't forget to either restart splunk instance or refresh configuration using "&lt;A href="http://splunk-server:port/en-US/debug/refresh"&gt;http://splunk-server:port/en-US/debug/refresh&lt;/A&gt;"&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jan 2014 12:25:28 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2014-01-08T12:25:28Z</dc:date>
    <item>
      <title>Splunk monitor mode query</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-monitor-mode-query/m-p/196187#M39025</link>
      <description>&lt;P&gt;i have indexed data from a directory in monitor mode ,and while checking the status of files being indexed i found an error " ignored file (crc conflict, needs crcSalt)" in the filestatus.&lt;BR /&gt;
what does this error signifies and how to rectify it?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2014 11:19:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-monitor-mode-query/m-p/196187#M39025</guid>
      <dc:creator>Mansi24</dc:creator>
      <dc:date>2014-01-06T11:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk monitor mode query</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-monitor-mode-query/m-p/196188#M39026</link>
      <description>&lt;P&gt;For every file, splunk creates a CRC (cyclic redundancy check) handler, which is based on first few line of the file. This helps prevent re-indexing of same file (even though its renamed, especially in case of files which are getting rolled over). It seems that the files being ignored by Splunk, in your case ,have similar first few lines (characters) causing Splunk to ignore them. &lt;/P&gt;

&lt;P&gt;To make Splunk read all the files in a directory regardless of similar files, you need to add "crcSalt = &lt;SOURCE&gt;" in your input.conf stanza for the directory being monitored.&lt;/SOURCE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://C:\MyDirectory\*.log]
disabled = false
followTail = 0
sourcetype = myindex
crcSalt = &amp;lt;SOURCE&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Beware that, with this setting Splunk will index all the files, even though they have been renamed, rolled over.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2014 14:53:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-monitor-mode-query/m-p/196188#M39026</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-01-06T14:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk monitor mode query</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-monitor-mode-query/m-p/196189#M39027</link>
      <description>&lt;P&gt;thanks somesoni2,&lt;/P&gt;

&lt;P&gt;just to confirm that the &lt;SOURCE&gt; written should be as it is or so we have to give the actual source from where the data is accessed for ex. if data source is my own system than i have to give my &lt;HOSTNAME&gt; as &lt;SOURCE&gt;.&lt;/SOURCE&gt;&lt;/HOSTNAME&gt;&lt;/SOURCE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2014 07:10:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-monitor-mode-query/m-p/196189#M39027</guid>
      <dc:creator>Mansi24</dc:creator>
      <dc:date>2014-01-08T07:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk monitor mode query</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-monitor-mode-query/m-p/196190#M39028</link>
      <description>&lt;P&gt;It has to be written as it is (string literal). And don't forget to either restart splunk instance or refresh configuration using "&lt;A href="http://splunk-server:port/en-US/debug/refresh"&gt;http://splunk-server:port/en-US/debug/refresh&lt;/A&gt;"&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2014 12:25:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-monitor-mode-query/m-p/196190#M39028</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-01-08T12:25:28Z</dc:date>
    </item>
  </channel>
</rss>

