Answer the question
In order to leave comments, you need to log in
How to find a parameter in the logs and output to a file?
Good afternoon!
Tell me how you can implement it
. It is necessary to collect statistics in the application logs for 5-7 days; logs on a Linux wheelbarrow in /var/log/partner/xxxxx.log
Find all transparent calls, for example
, /partner/transparent?service_id=15&partner_id=666&amount=400 )
Extract from them partner_id
Need a list of unique partner id or service_id (if no partner)
Answer the question
In order to leave comments, you need to log in
do I understand your logic correctly, you need not just grep by patterns, but also a condition that will allow you to leave one of the values in the line?
If not, then give a real example. and also important is the output format to a string not to a string two arguments 1 and so on what url options are
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question