<?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 to create add-on and where to code for further processing in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-create-add-on-and-where-to-code-for-further-processing/m-p/120711#M25064</link>
    <description>&lt;P&gt;Hi harshal_chakranarayan,&lt;/P&gt;

&lt;P&gt;like most of the times, best thing to do is consulting the docs about:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.2/AdvancedDev/AppIntro"&gt;App and Add-on intro&lt;/A&gt; to get a basic understanding about add-ons&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings"&gt;Where do I configure my Splunk settings&lt;/A&gt; to place the add-on at the right place&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.2/Forwarding/Routeandfilterdatad#Filter_event_data_and_send_to_queues"&gt;Filter event data and send to queues&lt;/A&gt; can be used as example but you need to change the &lt;CODE&gt;MetaData:Sourcetype&lt;/CODE&gt; in&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.2/Admin/Transformsconf"&gt;transforms.conf&lt;/A&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;hint on number 2: What you want to do is &lt;CODE&gt;parsing&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>Thu, 11 Sep 2014 13:27:08 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2014-09-11T13:27:08Z</dc:date>
    <item>
      <title>How to create add-on and where to code for further processing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-create-add-on-and-where-to-code-for-further-processing/m-p/120710#M25063</link>
      <description>&lt;P&gt;I want to create an add-on in which I have to parse a file depending upon the tags and then route it to different sourcetypes.&lt;BR /&gt;
The input file format is like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;{
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;"ABC_CONFIGURATION":&lt;BR /&gt;
{&lt;BR /&gt;
"Hidden":"INFO_YES",&lt;BR /&gt;
"orientation":"ORIENTATION_PORTRAIT",&lt;BR /&gt;
"Layout":"SIZE_NORMAL+LONG_NO+LAYOUTDIR_LTR",&lt;BR /&gt;
"seq":7,&lt;BR /&gt;
"mnc":0,&lt;BR /&gt;
"WidthDp":620&lt;BR /&gt;
},&lt;/P&gt;

&lt;P&gt;"EVENTSLOG":"01-04 02:13:19.249 I\/dvm_lock_sample( 1208): [system_server,1,main,37,WindowManagerService.java,6979,-,2814,7]\n&lt;BR /&gt;
            01-04 02:13:19.539 I\/dvm_lock_sample( 1208): [system_server,1,Binder_C,87,WindowManagerService.java,2627,WindowAnimator.java,96,17]\n&lt;BR /&gt;
            01-04 02:13:20.009 I\/wm_task_removed( 1208): [5,removeTask]\n&lt;BR /&gt;
            01-04 02:13:20.009 I\/wm_task_removed( 1208): [5,removeAppToken: last token]\n&lt;BR /&gt;
            01-04 02:13:40.959 I\/battery_level( 1208): [35,3658,309]\n&lt;/P&gt;

&lt;P&gt;"USER_DATE":"1970-01-04T02:19:24.000+00:00",&lt;BR /&gt;
"INFO":&lt;BR /&gt;
        {&lt;BR /&gt;
            "TIME":1406666986000,&lt;BR /&gt;
            "PRINT":"unknown",&lt;BR /&gt;
            "HARDWARE":"qcom",&lt;BR /&gt;
            "UNKNOWN":"unknown",&lt;BR /&gt;
            "RADIO":"unknown",&lt;BR /&gt;
            "LOADER":"unknown",&lt;BR /&gt;
                "VERSION":&lt;BR /&gt;
                {&lt;BR /&gt;
                    "CODENAME":"REL",&lt;BR /&gt;
                    "RELEASE":"4.4.3",&lt;BR /&gt;
                    "SDK":19&lt;BR /&gt;
                },&lt;BR /&gt;
            "ABI":"v7a",&lt;BR /&gt;
            "ABI2":"abi",&lt;BR /&gt;
            "IS_DEBUGGABLE":true,&lt;BR /&gt;
            "TYPE":"userdebug"&lt;BR /&gt;
        }&lt;/P&gt;

&lt;P&gt;}&lt;/P&gt;

&lt;P&gt;I want to upload this file as ABC_CONFIGURATION in one sourcetype ,EVENTSLOG in different source type and similarly all the tags in different sourcetypes. So how to do this?&lt;BR /&gt;
And how to do further processing in add-on?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:33:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-create-add-on-and-where-to-code-for-further-processing/m-p/120710#M25063</guid>
      <dc:creator>harshal_chakran</dc:creator>
      <dc:date>2020-09-28T17:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to create add-on and where to code for further processing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-create-add-on-and-where-to-code-for-further-processing/m-p/120711#M25064</link>
      <description>&lt;P&gt;Hi harshal_chakranarayan,&lt;/P&gt;

&lt;P&gt;like most of the times, best thing to do is consulting the docs about:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.2/AdvancedDev/AppIntro"&gt;App and Add-on intro&lt;/A&gt; to get a basic understanding about add-ons&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings"&gt;Where do I configure my Splunk settings&lt;/A&gt; to place the add-on at the right place&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.2/Forwarding/Routeandfilterdatad#Filter_event_data_and_send_to_queues"&gt;Filter event data and send to queues&lt;/A&gt; can be used as example but you need to change the &lt;CODE&gt;MetaData:Sourcetype&lt;/CODE&gt; in&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.2/Admin/Transformsconf"&gt;transforms.conf&lt;/A&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;hint on number 2: What you want to do is &lt;CODE&gt;parsing&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>Thu, 11 Sep 2014 13:27:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-create-add-on-and-where-to-code-for-further-processing/m-p/120711#M25064</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-09-11T13:27:08Z</dc:date>
    </item>
  </channel>
</rss>

