KB 5806 - Provide the required parameters for the API call.
ISSUE |
User may see the error below while making an API call.
|
SOLUTION |
Following are the list of API's used in Traffic Analyzer.
API Name
|
Description of API
|
Method
|
Parameters
|
---|---|---|---|
tcpdump_start | This API is to start capturing data using tcpdump and also option to mark request for analysis required (processing_required). | POST | {u'logs': u'', u'sql_port': u'1433', u'analysis_required': True, u'delay': 0, u'cluster': 1, u'mode': u'cluster', u'duration': 600, u'sizeOfFiles': 100} |
tcpdump_stop | Stops job specific tcpdump capturing process, rotates all sub files and create tar/zip out off all data and then updates size of file and activity_status. | GET | job_id |
tcpdump_download_data | This API is for downloading tcpdump captured/uploaded data or analyzed reports if available or job have successfully processed all the available tcpdump files. | GET | job_id |
tcpdump_analyze_all | This API marks job_status of all the available jobs whose data available to processing_required which is by default processing_not_required. | POST | |
tcpdump_delete_all | Deletes all the available data of all jobs. It cleans traffic analyzer related to the metadata directories and updates activity_status of all jobs to deleted. | DELETE | |
tcpdump_delete | Deletes jobs specific data and updates activity_status to deleted. | DELETE | job_id |
tcpdump_jobs_list | It lists all the available, running, scheduled job based on sort filed and sort type. By default based on date_time this API returns data fetched from SQLite to whose activity_status is not deleted. | GET | |
display | Diplays the summary and information of all the available sub_jobs in json format so UI displays it in tabular format. | GET | job_id |
upload | Provides option to upload single or tar/zip of tcpdump files captured and mark it as processing_required so once the uploading is complete service starts processing it in background and updates the status. | POST |
traffic_file sql_port |
tcpdump_analyze | This API marks job_status of specific requested record whose data is available as processing_required. It will simply add the job into a list of processing required jobs. | POST | job_id, sql_port |
Using the table above provide the required parameters for the traffic analyzer API call.
If you have problems contact ScaleArc customer support at support@scalearc.com.
Copyright ©2017 ScaleArc, Inc. All rights reserved. Contact Support | Contact ScaleArc | Feedback 2901 Tasman Drive Santa Clara, CA 95054 | Email: support@scalearc.com |
Permalink: https://support.scalearc.com/kb/articles/4371 |
Permalink: https://support.scalearc.com/kb/articles/4371 |