code: func (c *Client) CreateSplunk(i *CreateSplunkInput) (*Splunk, error) {
  	if i.Service == "" {
  		return nil, ErrMissingService
  	}
  
  	if i.Version == 0 {
  		return nil, ErrMissingVersion
  	}
  
  	path := fmt.Sprintf("/service/%s/version/%d/logging/splunk", i.Service, i.Version)
  	resp, err := c.PostForm(path, i, nil)
  	if err != nil {
  		return nil, err
  	}
  
  	var s *Splunk
  	if err := decodeJSON(&s, resp.Body); err != nil {
  		return nil, err
  	}
  	return s, nil
  }
docs: // CreateSplunk creates a new Fastly splunk.