Got the answer:
For Windows Servers:
Goto-> Command prompt
cd %SPLUNK_HOME%\bin
splunk package app MyAppName
Splunk username:
Password :
Application is packaged and stored in location:
%SPLUNK_HOME%\etc\system\static\app-packages\MyAppName.spl
There's an app for that, too!
FYI:
When you use the package command and do revisions, the app will be archived in a new folder:
%SPLUNK_HOME%\etc\system\static\app-packages\DELETEME_..\
This folder needs to periodically and regularly deleted manually.
Got the answer:
For Windows Servers:
Goto-> Command prompt
cd %SPLUNK_HOME%\bin
splunk package app MyAppName
Splunk username:
Password :
Application is packaged and stored in location:
%SPLUNK_HOME%\etc\system\static\app-packages\MyAppName.spl
in addition find more details @ docs page http://docs.splunk.com/Documentation/Splunk/6.0/AdvancedDev/PackageApp
For me I had to use the command on the second point like this: ./splunk package app MyAppName