Hi Guys,
Where can I find the service dependencies in ITSI?
Considering the example environment in the picture, you know
from itsi_summary that
KPI A1,A2,A3 belong to Service A
KPI B1,B2 belong to Service B
KPI C1,C2,C3 belong to Service C
from kv-store-lookup itsi_services that
serviceid xxx-yyy-zzz.... is Service A
serviceid 111-222-333... is Service B
serviceid 000-999-888... is Service C
but where can I find that Service A depends by Service B and Service C?
Thanks
Hi
You should try the getservice
command:
| getservice
| rename COMMENT as "Check the fields services_depending_on_me and services_depends_on"
Hope it helps. Cheers!!!
Hi
You should try the getservice
command:
| getservice
| rename COMMENT as "Check the fields services_depending_on_me and services_depends_on"
Hope it helps. Cheers!!!
Thanks Jaime,
also the idea for the "COMMENT" in search string is cool!
In the service analyzer you can select the tree view. There you can see the picture you've made. Furthermore, in the service edit window you can select/view the dependencies.
Hi RickvdIJ,
thanks for the answer but I need something that can be used in a search (like a kvstore or an index).
I suppose that somewhere ITSI stores those info I can see in service analyzer.... but where???
Hi djluke,
I'm in same dilemma as you were in. I want splunk search query to get service dependencies. I've found out way to get service dependencies from REST queries, however it is too slow to implement it.
if you manage to get query, would you please share it on this thread?
Thanks and Regards,
Ravishankar Yadav
Hi @ravishankary @djluke
Use the | getservice
command for a full list of services and its dependencies.
Cheers
The problem here is that |getservice gives the direct dependencies instead of the the child dependencies further down the service tree.