cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1114
Views
0
Helpful
1
Replies

CMX 10.5 APIs for exporting large dataset from CMX Cassandra database.

m-niemi
Level 1
Level 1

Hi.

 

I'm trying to automate large dataset generation but for some reason starting the data export is not working through API call.

Eg. POST https://<cmx>/api/config/historydata/export?date=2018/10/11 

curl -X POST -u 'user:pass' https://<cmx>/api/config/historydata/export?date=2018/10/11

 

Web form in apidocs page is working and the export job is triggered but from cmd line or code cmx-server gives Error 500 CMX error.

 

Is there some undocumented parameters which have to be in api call?

Does anyone use this large dataset export api?

 

 

Br, 

 

Mika Niemi

1 Accepted Solution

Accepted Solutions

m-niemi
Level 1
Level 1

Solved!

 

Finally found the right form to pass the date data in code.

post_data = '{"date":"2018/12/01"}' 

View solution in original post

1 Reply 1

m-niemi
Level 1
Level 1

Solved!

 

Finally found the right form to pass the date data in code.

post_data = '{"date":"2018/12/01"}' 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card