cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
519
Views
5
Helpful
3
Replies

ISE - Logging ansible APIs

lanagna
Level 1
Level 1

Hi Team, 

Looking for the ansible API for below configuration., Pls share the exact APIs

Syslog Config

  1. From the Cisco ISE administration portal. 
  2. Navigate to Administration > System > Logging > Remote Logging Targets
  3. Click Add to add a new remote logging target. 
  4. In the Add Remote Logging Target window, choose the Facility Code (Code 5 )from the drop-down list. 
  5. Enter the Maximum Length of the remote log target messages. Valid values are from 200 through 1024 bytes. 
  6. Check the Include Alarms For this Target checkbox if you want to include alarms for this target. 
  7. Click Save to save the changes.
2 Accepted Solutions

Accepted Solutions

Greg Gibbs
Cisco Employee
Cisco Employee

In addition to what @Arne Bier stated, it's important to know that there is currently not feature parity between the GUI and API. There 

As the Ansible modules leverage the APIs, if something cannot be done by API, it cannot be done using Ansible. 

The best place to start when looking to configure something in ISE via Ansible/API is to check the API documentation at https://cs.co/ise-api first to see if an API endpoint exists.

There are currently no APIs to configure the settings you reference.

View solution in original post

thomas
Cisco Employee
Cisco Employee

There are no APIs for ISE Syslog configuration and therefore no Ansible modules for it either.

Please submit your request to https://cs.co/ise-wish.

View solution in original post

3 Replies 3

Arne Bier
VIP
VIP

Great question @lanagna - before looking at the Ansible Collections, I couldn't even find how to do this natively in ISE 3.3 patch 1. The OpenAPI would seem the logical place to start. In the Swagger UI, the "System" section looks like it still needs a lot of work done.

ISE was never developed as an "API first" type of application - API's are slowly being bolted onto ISE.

And IMHO the API stuff in ISE is a mess - there is ERS and OpenAPI - you have to go looking at two different places for API calls.

Yes sure, the API Gateway feature means you have a common entry point, but the API documentation is in two different places.

I hope they can standardise on a common API (e.g. OpenAPI) - but if so, hopefully it won't take another 5 years.

Greg Gibbs
Cisco Employee
Cisco Employee

In addition to what @Arne Bier stated, it's important to know that there is currently not feature parity between the GUI and API. There 

As the Ansible modules leverage the APIs, if something cannot be done by API, it cannot be done using Ansible. 

The best place to start when looking to configure something in ISE via Ansible/API is to check the API documentation at https://cs.co/ise-api first to see if an API endpoint exists.

There are currently no APIs to configure the settings you reference.

thomas
Cisco Employee
Cisco Employee

There are no APIs for ISE Syslog configuration and therefore no Ansible modules for it either.

Please submit your request to https://cs.co/ise-wish.