<?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: Same sourcetype in different TA or APPs in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Same-sourcetype-in-different-TA-or-APPs/m-p/243921#M99107</link>
    <description>&lt;P&gt;Hi pvuong,&lt;/P&gt;

&lt;P&gt;Splunk just uses the sourcetype, source or host to extract the fields, if you have syslog than it will try to extract fields. It's not recommended to have multiple different styles of data with the same sourcetype. A normal way is to give names for your sourcetypes, for example for Cisco ASA, use sourcetype=cisco:asa, for Cisco router use sourcetype=cisco:router and so on.&lt;BR /&gt;
Your props.conf and transforms.conf will be related to a sourcetype (most common usage).&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jul 2016 13:19:08 GMT</pubDate>
    <dc:creator>gfreitas</dc:creator>
    <dc:date>2016-07-06T13:19:08Z</dc:date>
    <item>
      <title>Same sourcetype in different TA or APPs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Same-sourcetype-in-different-TA-or-APPs/m-p/243918#M99104</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;

&lt;P&gt;I have a Splunk server which is Indexer and SearchHead. All of  the logs are splited to different file by rsyslog in front process. &lt;BR /&gt;
So i have all log in File format by host like : &lt;BR /&gt;
/var/rsyslog/HOST1 &lt;BR /&gt;
/var/rsyslog/HOST2&lt;BR /&gt;
/var/rsyslog/HOST3&lt;BR /&gt;
/var/rsyslog/HOST4&lt;BR /&gt;
All input to Splunk is indexed by monitor file method for one or several file (broadcast /var/rsyslog/*) &lt;/P&gt;

&lt;P&gt;I installed three apps: &lt;BR /&gt;
 - splunk_app_for_nix( included SA-nix, Splunk_TA_nix)  dedicated for Linux, Unix systeme event dashbord. &lt;BR /&gt;
 - cisco_ios (included TA-cisco_ios) dedicated for Cisco Switch event dashbord &lt;BR /&gt;
 - Splunk_CiscoSecuritySuite (included Splunk_TA_cisco-asa) dedicated for ASA event dashbord&lt;/P&gt;

&lt;P&gt;My three input are : &lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;For splunk_app_for_nix  --&amp;gt; splunk_app_for_nix/local/inputs.conf&lt;BR /&gt;
[monitor:///var/rsyslog/linux_HostName*]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
host_segment = 4&lt;BR /&gt;
index = index_nix&lt;BR /&gt;
&lt;STRONG&gt;sourcetype = syslog&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;For cisco_ios ---&amp;gt; cisco_ios/local/inputs.conf&lt;BR /&gt;
[monitor:///var/rsyslog/cisco_switch_HostName*]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
host = cisco_swith_HostName&lt;BR /&gt;
index = net_cisco&lt;BR /&gt;
&lt;STRONG&gt;sourcetype = syslog&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Splunk_CiscoSecuritySuite ---&amp;gt; Splunk_TA_cisco-asa/local/inputs.conf&lt;BR /&gt;
[monitor:///var/rsyslog/cisco_asa_HostaName*]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
host = cisco_asa_Hostname&lt;BR /&gt;
index = net_asa&lt;BR /&gt;
&lt;STRONG&gt;sourcetype = syslog&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;My Dashboard of cisco_ios and CiscoSecuritySuite are ok. All events are displayed correctly except the systeme &lt;EM&gt;nix&lt;/EM&gt; . &lt;BR /&gt;
All log in index "index_nix" arent extracted correctly in according to &lt;EM&gt;nix&lt;/EM&gt; extract. &lt;/P&gt;

&lt;P&gt;My question is how SPLUNK know the different "syslog" to use to adapt it to each kind of log : linux syslog, cisco ios syslog or cisco asa syslog ? &lt;/P&gt;

&lt;P&gt;Any help is appreciated. Thanks by advance. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:08:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Same-sourcetype-in-different-TA-or-APPs/m-p/243918#M99104</guid>
      <dc:creator>pvuong</dc:creator>
      <dc:date>2020-09-29T10:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Same sourcetype in different TA or APPs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Same-sourcetype-in-different-TA-or-APPs/m-p/243919#M99105</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;It's very common that Splunk uses the props.conf and transforms.conf files for configuration on how to extract fields. Does the *nix app requires you to add data to the index_nix or another index? In the README file of the app you can find more information.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2016 17:11:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Same-sourcetype-in-different-TA-or-APPs/m-p/243919#M99105</guid>
      <dc:creator>gfreitas</dc:creator>
      <dc:date>2016-07-05T17:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Same sourcetype in different TA or APPs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Same-sourcetype-in-different-TA-or-APPs/m-p/243920#M99106</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;Thanks for your answer. &lt;/P&gt;

&lt;P&gt;I wanted to add data to different index for each kind of equipment  : index_nix, index_cisco, index_asa to allow the diffrent role permission. &lt;BR /&gt;
I know that *nix need to create other index like "os", "unix_summary" .... &lt;/P&gt;

&lt;P&gt;My question is how SPLUNK can know the different kind sourcetype of the same name "syslog" dedicated and configured in different APPs or TA ("syslog" of cisco ios or "syslog" of splunk_app_for_nix ? ). In this case, which file props.conf or transforms.conf that SPLUNK uses (the cisco one or the nix one )  ? &lt;/P&gt;

&lt;P&gt;Thanks for any help &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:08:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Same-sourcetype-in-different-TA-or-APPs/m-p/243920#M99106</guid>
      <dc:creator>pvuong</dc:creator>
      <dc:date>2020-09-29T10:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Same sourcetype in different TA or APPs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Same-sourcetype-in-different-TA-or-APPs/m-p/243921#M99107</link>
      <description>&lt;P&gt;Hi pvuong,&lt;/P&gt;

&lt;P&gt;Splunk just uses the sourcetype, source or host to extract the fields, if you have syslog than it will try to extract fields. It's not recommended to have multiple different styles of data with the same sourcetype. A normal way is to give names for your sourcetypes, for example for Cisco ASA, use sourcetype=cisco:asa, for Cisco router use sourcetype=cisco:router and so on.&lt;BR /&gt;
Your props.conf and transforms.conf will be related to a sourcetype (most common usage).&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2016 13:19:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Same-sourcetype-in-different-TA-or-APPs/m-p/243921#M99107</guid>
      <dc:creator>gfreitas</dc:creator>
      <dc:date>2016-07-06T13:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: Same sourcetype in different TA or APPs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Same-sourcetype-in-different-TA-or-APPs/m-p/243922#M99108</link>
      <description>&lt;P&gt;Ok Thanks for your answer. For Cisco asa and Cisoc ios, i have indeed used cisco:asa, cisco:ios for my cisco log sourcetype&lt;/P&gt;

&lt;P&gt;So it not recommanded to have multiple different styles of data with the same sourcetype.  Why the Apps or TA didn't configured with the default/props.conf to different kind of log like &lt;BR /&gt;
nix_syslog &lt;BR /&gt;
ios_syslog &lt;BR /&gt;
postfix_syslog &lt;/P&gt;

&lt;P&gt;instead of the same name "syslog" which can quite lead to confusion ... &lt;/P&gt;

&lt;P&gt;Thanks for your answer. &lt;/P&gt;

&lt;P&gt;Marie &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:09:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Same-sourcetype-in-different-TA-or-APPs/m-p/243922#M99108</guid>
      <dc:creator>pvuong</dc:creator>
      <dc:date>2020-09-29T10:09:11Z</dc:date>
    </item>
  </channel>
</rss>

