I am trying to extract the application Id.
As an example i need to extract
application_1621858977521_0074
from the following log line
/yarn/container-logs/application_1621858977521_0074/container_1621858977521_0074_01_000004 [2021-06-08 05:40:06,231] INFO Changing view acls groups to: (org.apache.spark.SecurityManager)
I have tried the following custom grok pattern but doesn't work.
%{(^application_:/$):appID}%
I Appreciate your suggestions and help