Hi,
I couldn’t find a way to retrieve a list of monitored log files. Is there an API for this?
Regards,
Sangjun
Hi,
I couldn’t find a way to retrieve a list of monitored log files. Is there an API for this?
Regards,
Sangjun
Hi, AntonPineiro
Thank you for your reply,
I mean “only the names of monitored log files”..
Regards,
SangJun,
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
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