Apache Log Filter

Is there a way to log/injest certain URL patterns only and not ingest everying from the Apache Logs?