cancel
Showing results for 
Search instead for 
Did you mean: 

AP Trace generation via API

AP Trace generation via API

ChristianK
New Contributor II

Is it possible via the XIQ Controller API to "Retrieve Trace" what is available in the Advanced configuration of the Access Points?

 

I want to get from multiple APs the Traces via API.

 

1 ACCEPTED SOLUTION

Gareth_Mitchell
Extreme Employee

Hello 

Yes this is possible via the API, essentially it's a 3 step process, create the trace, find the trace name, retrieve the trace.

step 1 generate the trace, if scripting add a short pause to allow this to happen, I used 10 secs in my script.

Put: url: management/v1/aps/<serialnumber>/logs

step 2 get the filename of the trace file

Get: management/v1/aps/<serialnumber>/traceurls

step 3 download the trace from step 2

Get: /management/v1/aps/downloadtrace/<full trace name>

HTH

-Gareth

View solution in original post

4 REPLIES 4

ChristianK
New Contributor II

Do you mean in Step 2 a different URL?

management/v1/aps/<serialnumber>/traceurls ?

Yes, I have fixed my original post.

Gareth_Mitchell
Extreme Employee

Hello 

Yes this is possible via the API, essentially it's a 3 step process, create the trace, find the trace name, retrieve the trace.

step 1 generate the trace, if scripting add a short pause to allow this to happen, I used 10 secs in my script.

Put: url: management/v1/aps/<serialnumber>/logs

step 2 get the filename of the trace file

Get: management/v1/aps/<serialnumber>/traceurls

step 3 download the trace from step 2

Get: /management/v1/aps/downloadtrace/<full trace name>

HTH

-Gareth

I was not aware of the PUT URL

In the Documentation, it was not clearly described.

GTM-P2G8KFN