Find all files with the extension ".log" in the current directory and its subdirectories, randomly select 30% of them, and search for the string "something" in those files.
find . -name "*.log" | awk 'limit+=(rand()<.3)==1' | xargs grep -e 'something'