<?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: Data preview option is missing in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Data-preview-option-is-missing/m-p/333047#M5463</link>
    <description>&lt;P&gt;Hi htidore!&lt;/P&gt;

&lt;P&gt;Glad to see you using add data wizard. It is a very useful way to ensure you build your sourcetypes right!&lt;/P&gt;

&lt;P&gt;As the warning explicitly advises, data preview is skipped for directories. It has been this way as long as I can remember. It is not an issue, it is expected behavior. It cannot traverse multiple directories/deal with multiple files at once.  You can still build the input this way, just can't test your props. &lt;/P&gt;

&lt;P&gt;If you are trying to use it to build props, the best way around it is to start the data wiz as if you are working with a single file in the dir, navigate to a single file, set up the props the way you want, then use the "copy to clipboard" option to save the props settings you need, then cancel out of the wizard.  &lt;/P&gt;

&lt;P&gt;You can then go back thru the wizard to enable the input if you need to, after you put your props in the correct app. &lt;/P&gt;</description>
    <pubDate>Sun, 10 Dec 2017 17:05:35 GMT</pubDate>
    <dc:creator>mattymo</dc:creator>
    <dc:date>2017-12-10T17:05:35Z</dc:date>
    <item>
      <title>Data preview option is missing</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Data-preview-option-is-missing/m-p/333046#M5462</link>
      <description>&lt;P&gt;My environment is Splunk version 7.01 on MacOS Sierra.&lt;/P&gt;

&lt;P&gt;When I try to monitor a folder (during configuration Settings &amp;gt; Data Inputs &amp;gt; Files and Directories), it gives me an error :&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://community.splunk.com/storage/temp/218990-screen-shot-2017-12-10-at-114030-pm.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;I only start having this problem after upgrading my laptop to MacOS Sierra with APFS. I have also entered the following line into $SPLUNK_HOME/etc/splunk-launch.conf&lt;BR /&gt;
&lt;CODE&gt;OPTIMISTIC_ABOUT_FILE_LOCKING = 1&lt;/CODE&gt;&lt;BR /&gt;
Without the above entry, Splunk cannot start.&lt;/P&gt;

&lt;P&gt;My question is how come Data preview is skipped? Any way to fix this problem?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;BR /&gt;
Hanny.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:10:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Data-preview-option-is-missing/m-p/333046#M5462</guid>
      <dc:creator>htidore</dc:creator>
      <dc:date>2020-09-29T17:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Data preview option is missing</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Data-preview-option-is-missing/m-p/333047#M5463</link>
      <description>&lt;P&gt;Hi htidore!&lt;/P&gt;

&lt;P&gt;Glad to see you using add data wizard. It is a very useful way to ensure you build your sourcetypes right!&lt;/P&gt;

&lt;P&gt;As the warning explicitly advises, data preview is skipped for directories. It has been this way as long as I can remember. It is not an issue, it is expected behavior. It cannot traverse multiple directories/deal with multiple files at once.  You can still build the input this way, just can't test your props. &lt;/P&gt;

&lt;P&gt;If you are trying to use it to build props, the best way around it is to start the data wiz as if you are working with a single file in the dir, navigate to a single file, set up the props the way you want, then use the "copy to clipboard" option to save the props settings you need, then cancel out of the wizard.  &lt;/P&gt;

&lt;P&gt;You can then go back thru the wizard to enable the input if you need to, after you put your props in the correct app. &lt;/P&gt;</description>
      <pubDate>Sun, 10 Dec 2017 17:05:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Data-preview-option-is-missing/m-p/333047#M5463</guid>
      <dc:creator>mattymo</dc:creator>
      <dc:date>2017-12-10T17:05:35Z</dc:date>
    </item>
  </channel>
</rss>

