<?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: Configure Receiver To Create Events by Source in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Configure-Receiver-To-Create-Events-by-Source/m-p/105727#M22871</link>
    <description>&lt;P&gt;Very Cool.&lt;/P&gt;

&lt;P&gt;• I'm assuming the connection_host parameter is only applying the sourcetype for matched hosts and not setting the host for all inputs?  &lt;/P&gt;

&lt;P&gt;I plan on using Splunk for other servers, data streams, SNMP, WMI, etc.  Do I need to create a different receiver for different source files?  Or can I use the host field to match different  sourcetypes?&lt;/P&gt;</description>
    <pubDate>Fri, 26 Apr 2013 16:29:23 GMT</pubDate>
    <dc:creator>cpt12tech</dc:creator>
    <dc:date>2013-04-26T16:29:23Z</dc:date>
    <item>
      <title>Configure Receiver To Create Events by Source</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Configure-Receiver-To-Create-Events-by-Source/m-p/105724#M22868</link>
      <description>&lt;P&gt;I'm new to Splunk and having some issues with getting logs to create events correctly.&lt;BR /&gt;
I've installed the universal forwarder, and set to a directory of plain text logs for a specific application. &lt;BR /&gt;
The logs are created 1 per day, and each line should be an event.&lt;BR /&gt;
I configured the universal forward to get local data from the logs directory (in which there are multiple sub directories with log files in them).&lt;/P&gt;

&lt;P&gt;When it reaches the receiver, Splunk creates events based on the log files and not the line items in the logs.&lt;BR /&gt;
I was able to connect the Splunk server to the computer and import the files, and can see in the data preview.&lt;/P&gt;

&lt;P&gt;However, I'm haven't figured out how to set this up on a receiver.  I don't want the client computer to do the processing, and would rather have the Splunk server split the events up correctly at time of indexing.&lt;/P&gt;

&lt;P&gt;Is there an app I need to install to configure a receiver?&lt;BR /&gt;
Should I have multiple receivers for different source types?  Or do I modify the config file to look for the source and run an event filter based on the source?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2013 00:46:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Configure-Receiver-To-Create-Events-by-Source/m-p/105724#M22868</guid>
      <dc:creator>cpt12tech</dc:creator>
      <dc:date>2013-04-25T00:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Receiver To Create Events by Source</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Configure-Receiver-To-Create-Events-by-Source/m-p/105725#M22869</link>
      <description>&lt;P&gt;Hm, you might have to rephrase that a little bit ('Splunk creates events based on the log files and not the line items in the logs').&lt;/P&gt;

&lt;P&gt;Also it's a bit unclear if you are using the forwarder OR getting the indexer to read the files directly (presumably through a file share?).&lt;/P&gt;

&lt;P&gt;With a universal forwarder reading and sending the logs, the indexer will do the work of splitting the stream of incoming data into separate events.&lt;/P&gt;

&lt;P&gt;No app needed to enable the receiver. See: &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Deploy/Enableareceiver#Set_up_receiving_with_Splunk_Web"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Deploy/Enableareceiver#Set_up_receiving_with_Splunk_Web&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;/K&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2013 06:42:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Configure-Receiver-To-Create-Events-by-Source/m-p/105725#M22869</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-04-25T06:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Receiver To Create Events by Source</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Configure-Receiver-To-Create-Events-by-Source/m-p/105726#M22870</link>
      <description>&lt;P&gt;This should already be the case though - Universal Forwarder do not perform parsing, and so do not decide how events are broken up. This all happens on the indexer (or to be more precise, on the first parsing Splunk instance that events arrive to, which usually is the indexer unless you have some kind of multi-layered setup with several chained forwarding instances).&lt;/P&gt;

&lt;P&gt;The rules Splunk uses for breaking events are documented here: &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.2/Data/Indexmulti-lineevents"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.2/Data/Indexmulti-lineevents&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Basically by default, Splunk will break into a new event when it encounters a line with a valid timestamp, but you can configure this pretty much any way you want.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2013 06:43:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Configure-Receiver-To-Create-Events-by-Source/m-p/105726#M22870</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-04-25T06:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Receiver To Create Events by Source</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Configure-Receiver-To-Create-Events-by-Source/m-p/105727#M22871</link>
      <description>&lt;P&gt;Very Cool.&lt;/P&gt;

&lt;P&gt;• I'm assuming the connection_host parameter is only applying the sourcetype for matched hosts and not setting the host for all inputs?  &lt;/P&gt;

&lt;P&gt;I plan on using Splunk for other servers, data streams, SNMP, WMI, etc.  Do I need to create a different receiver for different source files?  Or can I use the host field to match different  sourcetypes?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2013 16:29:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Configure-Receiver-To-Create-Events-by-Source/m-p/105727#M22871</guid>
      <dc:creator>cpt12tech</dc:creator>
      <dc:date>2013-04-26T16:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Receiver To Create Events by Source</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Configure-Receiver-To-Create-Events-by-Source/m-p/105728#M22872</link>
      <description>&lt;P&gt;I grabbed a file from the client, and uploaded it to Splunk using the web&lt;BR /&gt;
manager : data inputs : files &amp;amp; directories&lt;BR /&gt;
Changed the Data Preview to Every Line is One Event&lt;BR /&gt;
Saved the data preview as a new source type&lt;BR /&gt;
then canceled&lt;/P&gt;

&lt;P&gt;I read through the inputs.conf and set up the following:&lt;BR /&gt;
[tcp://9997]&lt;BR /&gt;
connection_host = myComputerName&lt;BR /&gt;
sourcetype = mySourceName&lt;/P&gt;

&lt;P&gt;Installed the forwarder, pointed to Splunk and the data is coming in parsed out by the timestamp on each line!&lt;/P&gt;

&lt;P&gt;Very Cool.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2013 16:29:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Configure-Receiver-To-Create-Events-by-Source/m-p/105728#M22872</guid>
      <dc:creator>cpt12tech</dc:creator>
      <dc:date>2013-04-26T16:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Receiver To Create Events by Source</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Configure-Receiver-To-Create-Events-by-Source/m-p/105729#M22873</link>
      <description>&lt;P&gt;Just realized that now I'm having duplicates reimported.  When a new line is written to the end of the log file, the entire file is imported as an event, and not just the new event.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2013 16:39:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Configure-Receiver-To-Create-Events-by-Source/m-p/105729#M22873</guid>
      <dc:creator>cpt12tech</dc:creator>
      <dc:date>2013-04-26T16:39:52Z</dc:date>
    </item>
  </channel>
</rss>

