<?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 Unable to create sourcetype in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-create-sourcetype/m-p/484411#M193426</link>
    <description>&lt;P&gt;I am trying to create a souretype "meraki" on the GUI.  &lt;/P&gt;

&lt;P&gt;But it is saying "Sourcetype meraki already exists"&lt;/P&gt;

&lt;P&gt;sourcetype meraki does not exist in the list of sourcetypes. What could be the problem. Why it is not allowing me to create sourcetype.&lt;/P&gt;

&lt;P&gt;Earlier I created an index with name "meraki".&lt;/P&gt;</description>
    <pubDate>Wed, 29 Apr 2020 09:06:22 GMT</pubDate>
    <dc:creator>pratapa</dc:creator>
    <dc:date>2020-04-29T09:06:22Z</dc:date>
    <item>
      <title>Unable to create sourcetype</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-create-sourcetype/m-p/484411#M193426</link>
      <description>&lt;P&gt;I am trying to create a souretype "meraki" on the GUI.  &lt;/P&gt;

&lt;P&gt;But it is saying "Sourcetype meraki already exists"&lt;/P&gt;

&lt;P&gt;sourcetype meraki does not exist in the list of sourcetypes. What could be the problem. Why it is not allowing me to create sourcetype.&lt;/P&gt;

&lt;P&gt;Earlier I created an index with name "meraki".&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 09:06:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unable-to-create-sourcetype/m-p/484411#M193426</guid>
      <dc:creator>pratapa</dc:creator>
      <dc:date>2020-04-29T09:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create sourcetype</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-create-sourcetype/m-p/484412#M193427</link>
      <description>&lt;P&gt;Hello @pratapa,&lt;/P&gt;

&lt;P&gt;do you have TA-meraki installed? Check under Manage Apps.&lt;/P&gt;

&lt;P&gt;You can see meraki sourcetype definition with:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  $SPLUNK_HOME/bin/splunk btool props list --debug meraki
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Apr 2020 12:10:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unable-to-create-sourcetype/m-p/484412#M193427</guid>
      <dc:creator>PavelP</dc:creator>
      <dc:date>2020-04-29T12:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create sourcetype</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-create-sourcetype/m-p/484413#M193428</link>
      <description>&lt;P&gt;You can build a sourcetype from the web UI, but that interface does not actually install it. It's actually gone once you close or leave that page.&lt;/P&gt;

&lt;P&gt;Once you've finished creating the sourcetype you'll need to copy the stanza text that is generated and paste it into props.conf then either cycle Splunk or use the deployer to push it out if it's going to be part of an app.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 14:14:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unable-to-create-sourcetype/m-p/484413#M193428</guid>
      <dc:creator>codebuilder</dc:creator>
      <dc:date>2020-04-29T14:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create sourcetype</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-create-sourcetype/m-p/484414#M193429</link>
      <description>&lt;P&gt;Yes we installed TA-meraki.&lt;/P&gt;

&lt;P&gt;Following is the output of $SPLUNK_HOME/bin/splunk btool props list --debug meraki&lt;/P&gt;

&lt;P&gt;./splunk btool props list --debug meraki&lt;/P&gt;

&lt;P&gt;/opt/splunk/etc/apps/TA-meraki/default/props.conf          [meraki]&lt;BR /&gt;
/opt/splunk/etc/system/default/props.conf                  ADD_EXTRA_TIME_FIELDS = True&lt;BR /&gt;
/opt/splunk/etc/system/default/props.conf                  ANNOTATE_PUNCT = True&lt;BR /&gt;
/opt/splunk/etc/system/default/props.conf                  AUTO_KV_JSON = true&lt;BR /&gt;
/opt/splunk/etc/system/default/props.conf                  BREAK_ONLY_BEFORE =&lt;BR /&gt;
/opt/splunk/etc/system/default/props.conf                  BREAK_ONLY_BEFORE_DATE = True&lt;BR /&gt;
/opt/splunk/etc/system/default/props.conf                  CHARSET = UTF-8&lt;BR /&gt;
/opt/splunk/etc/system/default/props.conf                  DATETIME_CONFIG = /etc/datetime.xml&lt;BR /&gt;
/opt/splunk/etc/system/default/props.conf                  DEPTH_LIMIT = 1000&lt;/P&gt;

&lt;H1&gt;cat props.conf&lt;/H1&gt;

&lt;P&gt;[meraki]&lt;/P&gt;

&lt;H1&gt;This line is needed to be on the indexer or heavy forwarder&lt;/H1&gt;

&lt;H1&gt;meraki includes their own date/time which is a unix timestamp, this transforms detect it and removes it&lt;/H1&gt;

&lt;H1&gt;which saves you data&lt;/H1&gt;

&lt;P&gt;TRANSFORMS-meraki_date_clipper = meraki_date_clipper&lt;/P&gt;

&lt;P&gt;KV_MODE = none&lt;/P&gt;

&lt;P&gt;REPORT-dvc = meraki_dvc&lt;BR /&gt;
REPORT-dvc2 = meraki_dvc2&lt;BR /&gt;
REPORT-dvc_ip = meraki_dvc_ip&lt;BR /&gt;
REPORT-dvc_ip2 = meraki_dvc_ip2&lt;BR /&gt;
REPORT-content_filtering_generic = meraki_content_filtering_generic&lt;BR /&gt;
REPORT-transport = meraki_transport&lt;BR /&gt;
REPORT-url_protocol = meraki_url_protocol&lt;BR /&gt;
REPORT-http_user_agent = meraki_http_user_agent&lt;BR /&gt;
REPORT-src = meraki_src&lt;BR /&gt;
REPORT-dst = meraki_dst&lt;BR /&gt;
REPORT-http_method = meraki_http_method&lt;BR /&gt;
REPORT-src_mac = meraki_src_mac&lt;BR /&gt;
REPORT-user = meraki_user&lt;BR /&gt;
REPORT-user2 = meraki_user2&lt;BR /&gt;
REPORT-url = meraki_url&lt;BR /&gt;
REPORT-url2 = meraki_url2&lt;BR /&gt;
REPORT-category = meraki_category&lt;BR /&gt;
REPORT-dest_port = meraki_dest_port&lt;BR /&gt;
REPORT-dest_port2 = meraki_dest_port2&lt;BR /&gt;
REPORT-src_port = meraki_src_port&lt;BR /&gt;
REPORT-src_port2 = meraki_src_port2&lt;BR /&gt;
REPORT-icmp_type = meraki_icmp_type&lt;BR /&gt;
REPORT-meraki_action = meraki_action&lt;BR /&gt;
REPORT-meraki_flows_action = meraki_flows_action&lt;BR /&gt;
REPORT-meraki_priority = meraki_priority&lt;BR /&gt;
REPORT-signature_id = meraki_signature_id&lt;BR /&gt;
REPORT-signature = meraki_signature&lt;/P&gt;

&lt;H2&gt;Sets value for meraki_app;  in REPORT first device that sets value overrides secondary queries&lt;/H2&gt;

&lt;P&gt;REPORT-meraki_1events_ad = meraki_events_ad&lt;BR /&gt;
REPORT-meraki_2dhcp_conflict = meraki_dhcp_conflict&lt;BR /&gt;
REPORT-meraki_3dhcp_lease_added = meraki_dhcp_lease_added&lt;BR /&gt;
REPORT-meraki_4dhcp_lease_release = meraki_dhcp_lease_release&lt;BR /&gt;
REPORT-meraki_5dhcp_lease_fail = meraki_dhcp_lease_fail&lt;BR /&gt;
REPORT-meraki_6dhcp_lease_fail2 = meraki_dhcp_lease_fail2&lt;BR /&gt;
REPORT-meraki_7port = meraki_port&lt;BR /&gt;
REPORT-meraki_8authentication = meraki_authentication&lt;BR /&gt;
REPORT-meraki_91wireless = meraki_events_wireless&lt;BR /&gt;
REPORT-meraki_92app = meraki_app&lt;BR /&gt;
REPORT-meraki_93app = meraki_app2&lt;/P&gt;

&lt;H1&gt;These handles the airmarshal_events&lt;/H1&gt;

&lt;P&gt;REPORT-air_signature = air_signature&lt;BR /&gt;
REPORT-air_ssid = air_ssid&lt;BR /&gt;
REPORT-air_bssid = air_bssid&lt;BR /&gt;
REPORT-air_src_mac = air_src_mac&lt;BR /&gt;
REPORT-air_dest_mac = air_dest_mac&lt;BR /&gt;
REPORT-air_wired_mac = air_wired_mac&lt;BR /&gt;
REPORT-air_client_mac = air_client_mac&lt;BR /&gt;
REPORT-air_vlan_id = air_vlan_id&lt;BR /&gt;
REPORT-air_channel = air_channel&lt;BR /&gt;
REPORT-air_fc_type = air_fc_type&lt;BR /&gt;
REPORT-air_fc_subtype = air_fc_subtype&lt;BR /&gt;
REPORT-air_inter_arrival = air_inter_arrival&lt;BR /&gt;
REPORT-air_dos_count = air_dos_count&lt;BR /&gt;
REPORT-air_alarm_id = air_alarm_id&lt;BR /&gt;
REPORT-air_state = air_state&lt;BR /&gt;
REPORT-air_radio = air_radio&lt;BR /&gt;
REPORT-air_packet = air_packet&lt;BR /&gt;
REPORT-air_reason = air_reason&lt;BR /&gt;
REPORT-air_rssi = air_rssi&lt;BR /&gt;
REPORT-air_vap = air_vap&lt;BR /&gt;
REPORT-air_client_ip = air_client_ip&lt;BR /&gt;
REPORT-air_instigator = air_instigator&lt;BR /&gt;
REPORT-air_duration = air_duration&lt;BR /&gt;
REPORT-air_last_auth_ago = air_last_auth_ago&lt;BR /&gt;
REPORT-air_is_wpa = air_is_wpa&lt;BR /&gt;
REPORT-air_full_conn = air_full_conn&lt;BR /&gt;
REPORT-air_ip_resp = air_ip_resp&lt;BR /&gt;
REPORT-air_ip_src = air_ip_src&lt;BR /&gt;
REPORT-air_http_resp = air_http_resp&lt;BR /&gt;
REPORT-air_arp_resp = air_arp_resp&lt;BR /&gt;
REPORT-air_arp_src = air_arp_src&lt;BR /&gt;
REPORT-air_dns_server = air_dns_server&lt;BR /&gt;
REPORT-air_dns_req_rtt = air_dns_req_rtt&lt;BR /&gt;
REPORT-air_dns_resp = air_dns_resp&lt;BR /&gt;
REPORT-air_dhcp_lease_completed = air_dhcp_lease_completed&lt;BR /&gt;
REPORT-air_dhcp_ip = air_dhcp_ip&lt;BR /&gt;
REPORT-air_dhcp_server = air_dhcp_server&lt;BR /&gt;
REPORT-air_dhcp_server_mac = air_dhcp_server_mac&lt;BR /&gt;
REPORT-air_dhcp_resp = air_dhcp_resp&lt;BR /&gt;
REPORT-air_aid = air_aid&lt;BR /&gt;
REPORT-air_info = air_info&lt;BR /&gt;
REPORT-air_type = air_type&lt;BR /&gt;
REPORT-meraki_wireless_action = meraki_wireless_action&lt;/P&gt;

&lt;P&gt;FIELDALIAS-dest = dst AS dest&lt;BR /&gt;
FIELDALIAS-src_ip = src AS src_ip&lt;BR /&gt;
FIELDALIAS-srcip = src AS srcip&lt;BR /&gt;
FIELDALIAS-dest_ip = dst AS dest_ip&lt;BR /&gt;
FIELDALIAS-user_agent = http_user_agent AS user_agent&lt;BR /&gt;
FIELDALIAS-ua = http_user_agent AS ua&lt;BR /&gt;
FIELDALIAS-urlc = category AS urlc&lt;/P&gt;

&lt;H1&gt;FIELDALIAS-signature = category AS signature&lt;/H1&gt;

&lt;P&gt;FIELDALIAS-urlp = dest_port AS urlp&lt;BR /&gt;
FIELDALIAS-client_ip = client_ip AS src_ip&lt;/P&gt;

&lt;P&gt;EVAL-http_user_agent_length = len(http_user_agent)&lt;BR /&gt;
EVAL-ids_type = if(meraki_app=="ids-alerts", "network", if(meraki_app=="events-airmarshal","wireless",null()))&lt;BR /&gt;
EVAL-app = "meraki-".meraki_app&lt;BR /&gt;
EVAL-url_length = len(url)&lt;BR /&gt;
EVAL-response_time = sum(arp_resp+dhcp_resp+ip_resp)&lt;/P&gt;

&lt;H1&gt;CIM states that (src|dest|x)_mac should be lower case&lt;/H1&gt;

&lt;H1&gt;docs.splunk.com/Documentation/CIM/latest/User/NetworkTraffic&lt;/H1&gt;

&lt;P&gt;EVAL-src_mac = lower(src_mac)&lt;BR /&gt;
EVAL-dest_mac = lower(dest_mac)&lt;BR /&gt;
EVAL-client_mac = lower(client_mac)&lt;BR /&gt;
EVAL-cached = "0"&lt;BR /&gt;
EVAL-lease_scope = if(len(lease_scope_subnet)=&amp;gt;1,src."/".lease_scope_subnet,null())&lt;BR /&gt;
EVAL-signature = coalesce(dhcpsignature,category,signature)&lt;BR /&gt;
EVAL-category = coalesce(category,signature)&lt;BR /&gt;
EVAL-signature_id = coalesce(dhcpsignature_id,signature_id)&lt;BR /&gt;
EVAL-meraki_action = coalesce(meraki_action,meraki_dhcp_action,meraki_wireless_action,meraki_airmarshal_action)&lt;BR /&gt;
EVAL-meraki_priority = coalesce(meraki_port_priority,meraki_priority,meraki_dhcp_priority,meraki_ad_priority,meraki_url_priority)&lt;/P&gt;

&lt;P&gt;LOOKUP-vendor_info_for_meraki = meraki_vendor_info_lookup sourcetype OUTPUT vendor,product,vendor_product&lt;BR /&gt;
LOOKUP-action_for_meraki = meraki_action_lookup meraki_action OUTPUT action&lt;BR /&gt;
LOOKUP-severity_for_meraki = meraki_severity_lookup meraki_priority OUTPUT severity&lt;BR /&gt;
LOOKUP-icmp_code_for_meraki = meraki_icmp_code_lookup icmp_type OUTPUT icmp_code&lt;BR /&gt;
LOOKUP-status_code_for_meraki = meraki_status_code_lookup meraki_app,meraki_action OUTPUT status_code,status,rule&lt;/P&gt;

&lt;P&gt;What I need to do to create sourcetype meraki.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 05:21:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unable-to-create-sourcetype/m-p/484414#M193429</guid>
      <dc:creator>pratapa</dc:creator>
      <dc:date>2020-09-30T05:21:22Z</dc:date>
    </item>
  </channel>
</rss>

