def METHOD_NAME(
        record_property,  get_host_key, setup_splunk, setup_sc4s
):
    event = '{{ mark }}device="SFW" date=2022-04-25 time=15:27:08 timezone="CDT" device_name="XG430" device_id=C4207AY8QXPYJ2E log_id=050901616001 log_type="Content Filtering" log_component="HTTP" log_subtype="Allowed" status="" priority=Information fw_rule_id=2 user_name="{{ host }}" user_gp="" iap=15 category="Search Engines" category_type="Acceptable" url="https://www.google.com/" contenttype="" override_token="" httpresponsecode="" src_ip=10.1.24.13 dst_ip=216.239.38.120 protocol="TCP" src_port=58562 dst_port=443 sent_bytes=591 recv_bytes=4428 domain=www.google.com exceptions= activityname="" reason="" user_agent="" status_code="200" transactionid= referer="" download_file_name="" download_file_type="" upload_file_name="" upload_file_type="" con_id=2491244032 application="" app_is_cloud=0 override_name="" override_authorizer="" used_quota="0"'
    host = get_host_key
    dt = datetime.datetime.now(datetime.timezone.utc)
    _, bsd, _, _, _, _, epoch = time_operations(dt)
    # Tune time functions
    epoch = epoch[:-7]
    mt = env.from_string(event + "\n")
    message = mt.render(mark="<30>", bsd=bsd, host=host)
    sendsingle(message, setup_sc4s[0], setup_sc4s[1][514])
    st = env.from_string(
        'search index=netdlp sourcetype="sophos:xg:content_filtering" {{ host }}'
    )
    search = st.render(epoch=epoch, host=host)
    result_count, _ = splunk_single(setup_splunk, search)
    record_property("host", host)
    record_property("resultCount", result_count)
    record_property("message", message)
    assert result_count == 1