A Splunk app to process Transport Canada Aviation Safety Data. This app now supports the Splunk Cloud platform.
- Click the Settings gear icon next to Apps on the Launcher homepage.
- Click Install app from file.
- Navigate to cadors_app_for_splunk.tar.gz.
- Click Upload.
- Restart Splunk.
- Click Settings, Data inputs
- Click Files & Directories.
- Click the New Local File & Directory button.
- Use the browse button to navigate to the location of the CADORS_NATIONAL_{yyyymmdd}_E.xml data files. You can subscribe to Transport Canada daily emails.
- Click Next.
- For Source type, select cadors_xml.
- For Index, click Create a new index, set Index Name to cadors_xml, set Max Size of Entire Index to 100MB, set App to CADORS App for Splunk.
- Click Save.
- Click Review.
- Click Submit.
- Select Apps | CADORS App for Splunk.
To use this app, the raw data file from Transport Canada needs to be downloaded. You can subscribe to Transport Canada daily emails. No additional cleansing is required, the app can process the data in the XML format it originates in.
The airport details data has been downloaded from OurAirports.com. More information on the project and the Public Domain license can be found here.
- Clone github repo
git clone https://github.com/csyvenky/cadors_app_for_splunk.git
. - Make your enhancements and increase the Build and Version numbers in the ./default/app.conf file.
- Make a tarball of the app folder
tar --exclude='cadors_app_for_splunk/.vscode' --exclude='cadors_app_for_splunk/.git*' --exclude='.DS_Store*' -czvf cadors_app_for_splunk.tar.gz cadors_app_for_splunk/
. - Run AppInspect validation via Postman
http://dev.splunk.com/view/appinspect/SP-CAAAFDU
. - Test the app installation on clean instance of Splunk.