09 Apr 2024 07:14 AM
Hi,
I couldn't find a way to retrieve a list of monitored log files. Is there an API for this?
Regards,
Sangjun
Solved! Go to Solution.
09 Apr 2024 08:23 AM
Hi, AntonPineiro
Thank you for your reply,
I mean "only the names of monitored log files"..
Regards,
SangJun,
09 Apr 2024 10:48 AM
Hi,
Are you in a Grail enabled tenant? Can you use Grail?
I am not sure if that can be done out-of-the-box.
Best regards
27 Apr 2024 01:38 PM
Hi @sjkim
Logs are associated to process instances hence you will need to utilize the entity APIs.
First with /api/v2/entities & entity type("host") collect all PROCESS_GROUP_INSTANCE ids
Then for each PROCESS_GROUP_INSTANCE id run /api/v2/entities/{entity-id} and look for logFileStatus or logSourceState key
HTH
Yos