Hi All,
I have a pattern:
"GET /channel_contents?channel_id=$chanid&app_id=$appid.$appversion&stic_id=43D469EC837A4804AB57FF3056947D04&ticket=&authenticator=&stic_ver=2.13.1.14 HTTP/1.0" 200
where in $chanid, $appid, $appversion etc are dynamic variables.
Problem is that i'm not able to search for the pattern in a log file for the dynamic variables. Is there any way to do so , meant having dynamic variables in a pattern that needs to matched in a log file.
Since when I assign the same to another variable like:
$org = "\"GET \/channel_contents\?channel_id=$chanid\&app_id=$appid.$appversion\&stic_id=43D469EC837A4804AB57FF3056947D04\&ticket=\&authenticator=\&stic_ver=2.13.1.14 HTTP\/1.0\" 200";
and then search for the /$org/ pattern, it fails to do so. So is there any easier way to do this?
Thanks for the help in advance.
I have a pattern:
"GET /channel_contents?channel_id=$chanid&app_id=$appid.$appversion&stic_id=43D469EC837A4804AB57FF3056947D04&ticket=&authenticator=&stic_ver=2.13.1.14 HTTP/1.0" 200
where in $chanid, $appid, $appversion etc are dynamic variables.
Problem is that i'm not able to search for the pattern in a log file for the dynamic variables. Is there any way to do so , meant having dynamic variables in a pattern that needs to matched in a log file.
Since when I assign the same to another variable like:
$org = "\"GET \/channel_contents\?channel_id=$chanid\&app_id=$appid.$appversion\&stic_id=43D469EC837A4804AB57FF3056947D04\&ticket=\&authenticator=\&stic_ver=2.13.1.14 HTTP\/1.0\" 200";
and then search for the /$org/ pattern, it fails to do so. So is there any easier way to do this?
Thanks for the help in advance.