<?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 Where is the invalid key in my inputs.conf? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Where-is-the-invalid-key-in-my-inputs-conf/m-p/384002#M69099</link>
    <description>&lt;P&gt;Receiving:&lt;BR /&gt;
 &lt;CODE&gt;Invalid key in stanza [monitor://D:\\radiantone\\vds\\vds_server\\logs] in , line 6: whitelist1 (value: vds_server.*\.log).&lt;BR /&gt;
                Invalid key in stanza [monitor://D:\\radiantone\\vds\\vds_server\\logs] in &amp;lt;c:\Program Files\SplunkUniversalForwarder\etc\apps\bsw_vds_inputs\local\inputs.conf&amp;gt;, line 7: whitelist2 (value: vds_server\.log).&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Here is the inputs.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://D:\\radiantone\\vds\\vds_server\\logs]
index=vds_logs
sourcetype=VDS_define_sourcetype
whitelist=vds_server_\d{4}-\d{2}-\d{2}.*\.log
whitelist1=vds_server.*\.log
whitelist2=vds_server\.log
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 14 Jun 2018 14:49:19 GMT</pubDate>
    <dc:creator>cburgman</dc:creator>
    <dc:date>2018-06-14T14:49:19Z</dc:date>
    <item>
      <title>Where is the invalid key in my inputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Where-is-the-invalid-key-in-my-inputs-conf/m-p/384002#M69099</link>
      <description>&lt;P&gt;Receiving:&lt;BR /&gt;
 &lt;CODE&gt;Invalid key in stanza [monitor://D:\\radiantone\\vds\\vds_server\\logs] in , line 6: whitelist1 (value: vds_server.*\.log).&lt;BR /&gt;
                Invalid key in stanza [monitor://D:\\radiantone\\vds\\vds_server\\logs] in &amp;lt;c:\Program Files\SplunkUniversalForwarder\etc\apps\bsw_vds_inputs\local\inputs.conf&amp;gt;, line 7: whitelist2 (value: vds_server\.log).&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Here is the inputs.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://D:\\radiantone\\vds\\vds_server\\logs]
index=vds_logs
sourcetype=VDS_define_sourcetype
whitelist=vds_server_\d{4}-\d{2}-\d{2}.*\.log
whitelist1=vds_server.*\.log
whitelist2=vds_server\.log
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Jun 2018 14:49:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Where-is-the-invalid-key-in-my-inputs-conf/m-p/384002#M69099</guid>
      <dc:creator>cburgman</dc:creator>
      <dc:date>2018-06-14T14:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Where is the invalid key in my inputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Where-is-the-invalid-key-in-my-inputs-conf/m-p/384003#M69100</link>
      <description>&lt;P&gt;I don't see mistake yet but here are the docs I'm referencing. Hope this helps.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.1.1/Admin/Inputsconf#Event_Log_whitelist_and_blacklist_formats"&gt;https://docs.splunk.com/Documentation/Splunk/7.1.1/Admin/Inputsconf#Event_Log_whitelist_and_blacklist_formats&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 14:59:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Where-is-the-invalid-key-in-my-inputs-conf/m-p/384003#M69100</guid>
      <dc:creator>lacastillo</dc:creator>
      <dc:date>2018-06-14T14:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Where is the invalid key in my inputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Where-is-the-invalid-key-in-my-inputs-conf/m-p/384004#M69101</link>
      <description>&lt;P&gt;It looks like you're trying to use the whitelists in inputs.conf as a means of specifying which files to monitor when it's meant to be used as a means of whitelisting specific events within a monitored file. I believe you would just need a separate monitoring stanza for each of your whitelisted values.&lt;/P&gt;

&lt;P&gt;Let me know if this helped.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.1.1/Admin/Inputsconf#MONITOR:"&gt;https://docs.splunk.com/Documentation/Splunk/7.1.1/Admin/Inputsconf#MONITOR:&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 15:15:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Where-is-the-invalid-key-in-my-inputs-conf/m-p/384004#M69101</guid>
      <dc:creator>lacastillo</dc:creator>
      <dc:date>2018-06-14T15:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Where is the invalid key in my inputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Where-is-the-invalid-key-in-my-inputs-conf/m-p/384005#M69102</link>
      <description>&lt;P&gt;You are correct... I added an additional stanza and now I am seeing logs.  Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 15:53:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Where-is-the-invalid-key-in-my-inputs-conf/m-p/384005#M69102</guid>
      <dc:creator>cburgman</dc:creator>
      <dc:date>2018-06-14T15:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: Where is the invalid key in my inputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Where-is-the-invalid-key-in-my-inputs-conf/m-p/384006#M69103</link>
      <description>&lt;P&gt;You're very welcome!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 16:27:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Where-is-the-invalid-key-in-my-inputs-conf/m-p/384006#M69103</guid>
      <dc:creator>lacastillo</dc:creator>
      <dc:date>2018-06-14T16:27:21Z</dc:date>
    </item>
  </channel>
</rss>

