<?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 sourcetype not getting set in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/sourcetype-not-getting-set/m-p/50408#M9610</link>
    <description>&lt;P&gt;I have the following confs&lt;/P&gt;

&lt;P&gt;inputs:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///opt/logs/\*.prd/\*/\*EndAudit.csv]
disable = false
index = foo
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;props:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::/opt/logs/\*bfc.sv.prd/\*/HttpConnectorService-\*-FrontEndAudit.csv]
sourcetype = HttpConFramework-FrontEnd-BFC
priority = 101

[source::/opt/logs/\*bfc.sv.prd/\*/HttpConnectorService-\*-BackEndAudit.csv]
sourcetype = HttpConFramework-BackEnd-BFC
priority = 101
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;these 2 sources are not getting their sourcetype set properly as defined above in the props&lt;/P&gt;

&lt;P&gt;if I run &lt;CODE&gt;./splunk test sourcetype /opt/logs/symbfc.sv.prd/symbfc111/HttpConnectorService-11.02-FrontEndAudit.csv&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Using logging configuration at /opt/instance/splunk/etc/log-cmdline.cfg.
PROPERTIES OF /opt/logs/symbfc.sv.prd/symbfc111/HttpConnectorService-11.02-FrontEndAudit.csv
    &amp;lt;snip&amp;gt;
    Attr:sourcetype HttpConFramework-FrontEnd-BFC
    &amp;lt;/snip&amp;gt;

however running:
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;CODE&gt;./splunk test sourcetype /opt/logs/\*bfc.sv.prd/\*/HttpConnectorService-\*-FrontEndAudit.csv&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Command error: The argument '/opt/logs/symbfc.sv.prd/symbfc111/HttpConnectorService-11.02-FrontEndAudit.csv' is invalid.  Arguments must be specified in the form '-argument value'.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 25 Feb 2011 22:47:14 GMT</pubDate>
    <dc:creator>bmayer00</dc:creator>
    <dc:date>2011-02-25T22:47:14Z</dc:date>
    <item>
      <title>sourcetype not getting set</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/sourcetype-not-getting-set/m-p/50408#M9610</link>
      <description>&lt;P&gt;I have the following confs&lt;/P&gt;

&lt;P&gt;inputs:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///opt/logs/\*.prd/\*/\*EndAudit.csv]
disable = false
index = foo
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;props:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::/opt/logs/\*bfc.sv.prd/\*/HttpConnectorService-\*-FrontEndAudit.csv]
sourcetype = HttpConFramework-FrontEnd-BFC
priority = 101

[source::/opt/logs/\*bfc.sv.prd/\*/HttpConnectorService-\*-BackEndAudit.csv]
sourcetype = HttpConFramework-BackEnd-BFC
priority = 101
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;these 2 sources are not getting their sourcetype set properly as defined above in the props&lt;/P&gt;

&lt;P&gt;if I run &lt;CODE&gt;./splunk test sourcetype /opt/logs/symbfc.sv.prd/symbfc111/HttpConnectorService-11.02-FrontEndAudit.csv&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Using logging configuration at /opt/instance/splunk/etc/log-cmdline.cfg.
PROPERTIES OF /opt/logs/symbfc.sv.prd/symbfc111/HttpConnectorService-11.02-FrontEndAudit.csv
    &amp;lt;snip&amp;gt;
    Attr:sourcetype HttpConFramework-FrontEnd-BFC
    &amp;lt;/snip&amp;gt;

however running:
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;CODE&gt;./splunk test sourcetype /opt/logs/\*bfc.sv.prd/\*/HttpConnectorService-\*-FrontEndAudit.csv&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Command error: The argument '/opt/logs/symbfc.sv.prd/symbfc111/HttpConnectorService-11.02-FrontEndAudit.csv' is invalid.  Arguments must be specified in the form '-argument value'.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 25 Feb 2011 22:47:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/sourcetype-not-getting-set/m-p/50408#M9610</guid>
      <dc:creator>bmayer00</dc:creator>
      <dc:date>2011-02-25T22:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: sourcetype not getting set</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/sourcetype-not-getting-set/m-p/50409#M9611</link>
      <description>&lt;P&gt;Are there actually wildcard's in your file names?  If not you probably don't wan't a string literal wildcard &lt;BR /&gt;
\*&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;## inputs.conf
## The ellipsis (...) wildcard recurses through directories and any 
## number of levels of subdirectories to find matches.  
## The asterisk wildcard matches anything in that specific directory path segment.
[monitor:///opt/logs/*.prd/.../*EndAudit.csv]
disable = false
index = foo

## props.conf
[source::/opt/logs/*.prd/.../*FrontEndAudit.csv]
sourcetype = HttpConFramework-FrontEnd-BFC
priority = 101

[source::/opt/logs/*.prd/.../*BackEndAudit.csv]
sourcetype = HttpConFramework-BackEnd-BFC
priority = 101
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 15 Apr 2011 19:49:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/sourcetype-not-getting-set/m-p/50409#M9611</guid>
      <dc:creator>hazekamp</dc:creator>
      <dc:date>2011-04-15T19:49:14Z</dc:date>
    </item>
  </channel>
</rss>

