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

Stealthwatch API security event query return 400 error

naijain
Cisco Employee
Cisco Employee

Hi,

I am trying to run stealthwatch API to get the security events from Python sample script (https://developer.cisco.com/docs/stealthwatch/enterprise/#!quick-start) however I am getting 400 errors.

python3 get_security_events.py

An error has occurred, while getting security events, with the following code 400

I have updated the username, password, host, and tenant ID in the script.

1 Reply 1

Philipp Tannich
Cisco Employee
Cisco Employee

Hey!

When I check the config guide for this python script, it says, that you should enter username, password and host. In my understanding, the "host" is not your "tenant ID", but your "hostname or IP address".

Can you change this and check again, please?

Best, Philipp