# File lib/mcollective/security/base.rb, line 177
      def create_request(reqid, filter, msg, initiated_by, target_agent, target_collective, ttl=60)
        Log.debug("Encoding a request for agent '#{target_agent}' in collective #{target_collective} with request id #{reqid}")

        {:body => msg,
         :senderid => @config.identity,
         :requestid => reqid,
         :filter => filter,
         :collective => target_collective,
         :agent => target_agent,
         :callerid => callerid,
         :ttl => ttl,
         :msgtime => Time.now.utc.to_i}
      end