<?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: How do I set different source types on one data input? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/540085#M90444</link>
    <description>&lt;P&gt;Is there a reason you don't just send to different IP ports?&lt;BR /&gt;&lt;BR /&gt;[//tcp:10514]&lt;BR /&gt;connection_host = IP&lt;BR /&gt;sourcetype = bluecoat:proxysg:access:file&lt;BR /&gt;index = web&lt;BR /&gt;&lt;BR /&gt;#assumes Palo Alto firewall&lt;BR /&gt;[//tcp:10515]&lt;BR /&gt;connection_host = IP&lt;BR /&gt;sourcetype = pan:traffic&lt;BR /&gt;index = firewall&lt;/P&gt;</description>
    <pubDate>Tue, 16 Feb 2021 12:41:16 GMT</pubDate>
    <dc:creator>dokaas_2</dc:creator>
    <dc:date>2021-02-16T12:41:16Z</dc:date>
    <item>
      <title>How do I set different source types on one data input?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204270#M40307</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have a Data Input for TCP:10514 where I am receiving logs from different devices (blue coat proxy (192.168.3.217) and a firewall on 10.54.3.xxx)&lt;/P&gt;

&lt;P&gt;I need the logs from the proxy to have the source type: bluecoat:proxysg:access:syslog and the logs from the Firewall to have a different sourcetype.&lt;/P&gt;

&lt;P&gt;How can achieve this?&lt;/P&gt;

&lt;P&gt;Thank you in advanced.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 20:07:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204270#M40307</guid>
      <dc:creator>noybin</dc:creator>
      <dc:date>2016-02-15T20:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set different source types on one data input?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204271#M40308</link>
      <description>&lt;P&gt;This can be accomplished through transforms and props on the indexers.  You will need to use regex to identify which log lines are from the firewall. Read the article below.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/4.0/Knowledge/Overridesourcetypesonaper-eventbasis"&gt;http://docs.splunk.com/Documentation/Splunk/4.0/Knowledge/Overridesourcetypesonaper-eventbasis&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 20:17:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204271#M40308</guid>
      <dc:creator>bmacias84</dc:creator>
      <dc:date>2016-02-15T20:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set different source types on one data input?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204272#M40309</link>
      <description>&lt;P&gt;Hi noybin,&lt;/P&gt;

&lt;P&gt;You can do this on a Heavyweight Forwarder or an Indexer by setting a &lt;CODE&gt;props.conf&lt;/CODE&gt; for the proxy. First you set a default &lt;CODE&gt;sourcetype&lt;/CODE&gt; for the input in &lt;CODE&gt;inputs.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcp::10514]
sourcetype = bluecoat
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;next use this sourcetype in &lt;CODE&gt;props.conf&lt;/CODE&gt; to re-write the sourcetype for the proxy:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[bluecoat] 
TRANSFORMS-001_bluecoat_rewrite = bluecoat_get_hostname,bluecoat_rewrite_sourcetype
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and finally in &lt;CODE&gt;transforms.conf&lt;/CODE&gt; set the regex to match the proxy IP:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[bluecoat_get_hostname] 
REGEX = "\s((?:\d+\.){3}\d+)\s
DEST_KEY = MetaData:Host 
FORMAT = host::$1 

[bluecoat_rewrite_sourcetype] 
SOURCE_KEY = MetaData:Host 
REGEX = 192\.168\.3\.217 
DEST_KEY = MetaData:Sourcetype 
FORMAT = sourcetype::bluecoat:proxysg:access:syslog 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will only re-write the sourcetype for this IP and leaves the sourcetype all others as &lt;CODE&gt;bluecoat&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 20:23:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204272#M40309</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-02-15T20:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set different source types on one data input?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204273#M40310</link>
      <description>&lt;P&gt;Thanks for your answer.&lt;/P&gt;

&lt;P&gt;If I set the &lt;CODE&gt;regex= 192\.168\.3\.217&lt;/CODE&gt;, then any message that comes from &lt;STRONG&gt;any device&lt;/STRONG&gt; with the string "192.168.3.217" will be matched as bluecoat:proxysg:access:syslog.&lt;BR /&gt;
Is that right?&lt;/P&gt;

&lt;P&gt;I am using Blue Coat add on, where can I find the regex used for host extraction for sourcetype: bluecoat:proxysg:access:syslog&lt;/P&gt;

&lt;P&gt;I was using the regex used for host extraction for syslog (splunk/etc/system/default/transforms.conf) but it doesn't work for these events:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;REGEX = &amp;gt; :\d\d\s+(?:\d+\s+|(?:user|daemon|local.?)\.\w+\s+)*\[?(192\.168\.3\.217)[\w\.\-]*\]?\s
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Following are some events from my Blue Coat proxy:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2016-02-15 20:50:12 405 10.54.3.51 noybin LTT-AR\GRP%20Internet%20Base - OBSERVED "Web Ads/Analytics" &lt;A href="http://www.diarioregistrado.com/" target="test_blank"&gt;http://www.diarioregistrado.com/&lt;/A&gt;  200 TCP_NC_MISS GET text/html;charset=UTF-8 http bcp.crwdcntrl.net 80 /5/c=6508/rand=111344262/pv=y/rt=ifr - - "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36" 192.168.3.217 4175 3940 - "none" "none"
2016-02-15 20:50:12 10828 10.54.3.51 noybin LTT-AR\GRP%20Internet%20Base - OBSERVED "News/Media" &lt;A href="http://www.diarioregistrado.com/" target="test_blank"&gt;http://www.diarioregistrado.com/&lt;/A&gt;  200 TCP_NC_MISS GET image/gif http &lt;A href="https://community.splunk.com/www.diarioregistrado.com" target="test_blank"&gt;www.diarioregistrado.com&lt;/A&gt; 80 /files/banners/TVR2014-2.gif - gif "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36" 192.168.3.217 298625 886 - "none" "none"
2016-02-15 20:50:02 5434 10.54.3.51 noybin LTT-AR\GRP%20Internet%20Base - OBSERVED "News/Media" &lt;A href="http://www.diarioregistrado.com/" target="test_blank"&gt;http://www.diarioregistrado.com/&lt;/A&gt;  200 TCP_NC_MISS GET image/jpeg http &lt;A href="https://community.splunk.com/www.diarioregistrado.com" target="test_blank"&gt;www.diarioregistrado.com&lt;/A&gt; 80 /upload/news/diarioregistrado/56c04c503aa8e.jpg - jpg "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36" 192.168.3.217 149894 907 - "none" "none"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 21:09:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204273#M40310</guid>
      <dc:creator>noybin</dc:creator>
      <dc:date>2016-02-15T21:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set different source types on one data input?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204274#M40311</link>
      <description>&lt;P&gt;I've tried your solution and when I search I see the events with the correct sourcetype, but the host field is extracted with the original sourcetype which extracts it wrongly.&lt;/P&gt;

&lt;P&gt;By host I mean the IP of the proxy that sends the logs.&lt;/P&gt;

&lt;P&gt;I've set "syslog" as sourcetype for the datainput and "proxysg:access:syslog" when the regex is matched.&lt;/P&gt;

&lt;P&gt;The host is extracted with the syslog regex and not with the proxysg:access:syslog one. And it extracts the host field with the wrong value and I guess that I will have the same problem when I add more source types.&lt;/P&gt;

&lt;P&gt;Is there a way to make the host be extracted with the correct source type?&lt;/P&gt;

&lt;P&gt;Thank you very much for your help.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 21:36:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204274#M40311</guid>
      <dc:creator>noybin</dc:creator>
      <dc:date>2016-02-15T21:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set different source types on one data input?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204275#M40312</link>
      <description>&lt;P&gt;Quote: If I set the &lt;CODE&gt;regex= 192\.168\.3\.217&lt;/CODE&gt;, then any message that comes from any device with the string "192.168.3.217" will be matched as bluecoat:proxysg:access:syslog.&lt;BR /&gt;
Is that right?&lt;/P&gt;

&lt;P&gt;No, any events from the &lt;CODE&gt;host=192.168.3.217&lt;/CODE&gt; will get the sourcetype &lt;CODE&gt;bluecoat:proxysg:access:syslog&lt;/CODE&gt; This is because the regex only checks on the &lt;CODE&gt;SOURCE_KEY = MetaData::Host&lt;/CODE&gt;. &lt;BR /&gt;
But key here is to get the host extraction working in this case first. Based on your provided examples this should work as host regex &lt;CODE&gt;"\s((?:\d+\.){3}\d+)\s&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 21:50:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204275#M40312</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-02-15T21:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set different source types on one data input?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204276#M40313</link>
      <description>&lt;P&gt;Thanks again!&lt;/P&gt;

&lt;P&gt;So as you say, first I need to get Splunk to extract the host correctly so then with the REGEX and the SOURCE_KEY I can set the sourcetype.&lt;/P&gt;

&lt;P&gt;Then:&lt;BR /&gt;
 1. In the examples I copied, the IP address that should be extracted as host is the second on each event (192.168.3.217)&lt;/P&gt;

&lt;P&gt;2016-02-15 20:50:12 405 10.54.3.51 noybin LTT-AR\GRP%20Internet%20Base - OBSERVED "Web Ads/Analytics" &lt;A href="http://www.diarioregistrado.com/" target="_blank"&gt;http://www.diarioregistrado.com/&lt;/A&gt;  200 TCP_NC_MISS GET text/html;charset=UTF-8 http bcp.crwdcntrl.net 80 /5/c=6508/rand=111344262/pv=y/rt=ifr - - "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36" 192.168.3.217 4175 3940 - "none" "none"&lt;/P&gt;

&lt;P&gt;Won't your regex: "\s((?:\d+.){3}\d+)\s match with the first IP address?&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Where should I write that regex? (Which file and key/stanza?)&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:48:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204276#M40313</guid>
      <dc:creator>noybin</dc:creator>
      <dc:date>2020-09-29T08:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set different source types on one data input?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204277#M40314</link>
      <description>&lt;P&gt;No it will not, because the regex matches &lt;CODE&gt;"\s&lt;/CODE&gt; (a double quote followed by a whitespace) in front of the digits and this only happens before the second IP not before the first IP.&lt;BR /&gt;
Take a look at the docs &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.3/Knowledge/ExtractfieldsinteractivelywithIFX"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.3/Knowledge/ExtractfieldsinteractivelywithIFX&lt;/A&gt; to learn about field extraction &lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2016 00:37:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204277#M40314</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-02-16T00:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set different source types on one data input?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204278#M40315</link>
      <description>&lt;P&gt;Ok you're right.&lt;BR /&gt;
So where do i have to write that regex for extracting the host correctly?&lt;/P&gt;

&lt;P&gt;And in what stanza/key?&lt;/P&gt;

&lt;P&gt;Thank you so much again!&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2016 00:58:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204278#M40315</guid>
      <dc:creator>noybin</dc:creator>
      <dc:date>2016-02-16T00:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set different source types on one data input?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204279#M40316</link>
      <description>&lt;P&gt;try something like this is &lt;CODE&gt;$SPLUNK_HOME/etc/apps/YourAppName/local/props.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[bluecoat] 
TRANSFORMS-001_rewrite_bluecoat_sourcetype = bluecoat_get_hostname,bluecoat_rewrite_sourcetype
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and in &lt;CODE&gt;$SPLUNK_HOME/etc/apps/YourAppName/local/transforms.conf&lt;/CODE&gt; set the regex to match the second IP:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [bluecoat_get_hostname] 
 REGEX = "\s((?:\d+\.){3}\d+)\s
 DEST_KEY = MetaData:Host 
 FORMAT = host::$1 

 [bluecoat_rewrite_sourcetype] 
 SOURCE_KEY = MetaData::Host 
 REGEX = 192\.168\.3\.217 
 DEST_KEY = MetaData::Sourcetype 
 FORMAT = sourcetype::bluecoat:proxysg:access:syslog 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is un-tested, but it should work as long as you have it on either a Heavy Weight Forwarder or an Indexer and don't forget to restart Splunk after the changes.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2016 01:30:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204279#M40316</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-02-16T01:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set different source types on one data input?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204280#M40317</link>
      <description>&lt;P&gt;Hi, applying your latest comment, now Splunk is extracting the host correctly but it isn't applying the source type correctly (it doesn't apply bluecoat:proxysg:access:syslog).&lt;/P&gt;

&lt;P&gt;The host is being extracted as 192.168.3.217 (OK)&lt;BR /&gt;
The sourcetype is being extracted as syslog (which is the default sourcetype for the data input) instead of bluecoat:proxysg:access:syslog.&lt;/P&gt;

&lt;P&gt;I 've set the following:&lt;/P&gt;

&lt;P&gt;-- /sdm/splunk/etc/system/local/props.conf --&lt;/P&gt;

&lt;P&gt;TRANSFORMS-changesourcetype = bluecoat_get_hostname,set_sourcetype_bluecoat_for_some_hosts&lt;/P&gt;

&lt;P&gt;-- /sdm/splunk/etc/system/local/transforms.conf --&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[bluecoat_get_hostname]
REGEX = ["|-]\s((?:\d+\.){3}\d+)\s
DEST_KEY = MetaData:Host
FORMAT = host::$1

[set_sourcetype_bluecoat_for_some_hosts]
SOURCE_KEY = MetaData::Host
REGEX = 192\.168\.3\.217
DEST_KEY = MetaData::Sourcetype
FORMAT = sourcetype::bluecoat:proxysg:access:syslog
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I had to add ["|-] to the regex because of some special events that came in that format.&lt;/P&gt;

&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:48:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204280#M40317</guid>
      <dc:creator>noybin</dc:creator>
      <dc:date>2020-09-29T08:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set different source types on one data input?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204281#M40318</link>
      <description>&lt;P&gt;Is your &lt;CODE&gt;props.conf&lt;/CODE&gt; applied to &lt;CODE&gt;[syslog]&lt;/CODE&gt; ?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2016 19:22:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204281#M40318</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-02-16T19:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set different source types on one data input?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204282#M40319</link>
      <description>&lt;P&gt;Thanks again.&lt;/P&gt;

&lt;P&gt;I tried both: [syslog] and [source::tcp:10514]. Both apply correctly the host transformation ( bluecoat_get_hostname) but not the source type transformation (set_sourcetype_bluecoat)&lt;/P&gt;

&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:49:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204282#M40319</guid>
      <dc:creator>noybin</dc:creator>
      <dc:date>2020-09-29T08:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set different source types on one data input?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204283#M40320</link>
      <description>&lt;P&gt;Hi, I updated the original answer and fixed all typos in it. So, feel free to accept it if this answers your question - thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2016 02:46:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204283#M40320</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-02-17T02:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set different source types on one data input?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204284#M40321</link>
      <description>&lt;P&gt;Done!&lt;BR /&gt;
Thank you very much for your help!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2016 13:15:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204284#M40321</guid>
      <dc:creator>noybin</dc:creator>
      <dc:date>2016-02-17T13:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set different source types on one data input?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204285#M40322</link>
      <description>&lt;P&gt;Could you tell me if it is works to "index" too?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2017 17:29:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204285#M40322</guid>
      <dc:creator>monteirolopes</dc:creator>
      <dc:date>2017-10-04T17:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set different source types on one data input?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204286#M40323</link>
      <description>&lt;P&gt;Sure, but the transforms would look like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[stanza_name_goes_here] 
 SOURCE_KEY = MetaData:Host 
 REGEX = 192\.168\.3\.217 
 DEST_KEY = _MetaData:Index 
 FORMAT = SomeIndexNameGoesHere
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Oct 2017 20:17:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/204286#M40323</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2017-10-04T20:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set different source types on one data input?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/540085#M90444</link>
      <description>&lt;P&gt;Is there a reason you don't just send to different IP ports?&lt;BR /&gt;&lt;BR /&gt;[//tcp:10514]&lt;BR /&gt;connection_host = IP&lt;BR /&gt;sourcetype = bluecoat:proxysg:access:file&lt;BR /&gt;index = web&lt;BR /&gt;&lt;BR /&gt;#assumes Palo Alto firewall&lt;BR /&gt;[//tcp:10515]&lt;BR /&gt;connection_host = IP&lt;BR /&gt;sourcetype = pan:traffic&lt;BR /&gt;index = firewall&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 12:41:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-set-different-source-types-on-one-data-input/m-p/540085#M90444</guid>
      <dc:creator>dokaas_2</dc:creator>
      <dc:date>2021-02-16T12:41:16Z</dc:date>
    </item>
  </channel>
</rss>

