Based on this package I generated a parsing rule with the following regular expression:
date = (\ S *). + time = (\ S *). + logid = (\ S *). + subtype = (app-ctrl). + vd = (\ S *). + user = \ "( \ S * | \ S *. \ S *) \ ". + Srcip = (\ S *). + Srcport = (\ S *). + Dstip = (\ S *). + Dstport = (\ S *) . + service = (\ S *). + sessionid = (\ S *). + appcat = \ "(\ S *) \". + app = \ "(\ S *) \". + action = (\ S *). + (Hostname = \ "(\ S *) \". + Url = \ "(\ S *) \". +)? Apprisk = (\ S *)
tried the same with the sample log data which matches the paquet:
I assign the same to the desired datasource and it is under the Signature ID 5000037:
I roll out the policy to the associated datasource and run the task so that it brings me the new events, but the events that should parse under the new ASP rule do not make it, but parse under a Data source rule under the name APPLICATION-CONTROL:
I perform a filter with the Sig ID 5000037 of the events of the last 30 minutes (after doing a pull of datasources events) but it does not bring me any events:
I understand that these are the steps to generate a new ASP rule, but it is not working: /.
It looks like there is an existing ASP for Application Control events. The signature ID is 1025649. On the parsing tab, you will see in the second text box "app-ctrl", which is in your sample event. The second text box is like a pre-parser. It looks for this content string and if it matches, it proceeds to the next step of trying to parse the event.
If you want your parser to take over, you will need to add this app-ctrl to your parser and also disable the built in parser and push out policy. You may need to delete the auto-learned data source rules for the previous app control events.
Additionally, you won't be able to do a filter with the signature ID from the parser. That is just the parser ID. Once you start parsing events, each event will be assigned a signature ID, such as 355-#########. You can filter on that Signature ID, which will be in the data source rules.
Is the default rule not working for you? Is certain event data missing? You can always copy and modify it to add additonal parsing to it.