Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hi, I'M Getting Permission Errors When Trying To Read A File Using Trains-Agent, Which User Does It Use To Access Files? How Can I Grant It Permissions? (With My Own User Everything Works Smoothly)

Hi, I'm getting permission errors when trying to read a file using trains-agent, which user does it use to access files? how can I grant it permissions? (with my own user everything works smoothly)

  
  
Posted 3 years ago
Votes Newest

Answers 5


Hi SmarmySeaurchin8 ,

The trains-agent default uses the ~trains.conf file for credentials, can you verify the api section in this file?

  
  
Posted 3 years ago

it uses the api credentials generated by the trains dashboard

  
  
Posted 3 years ago

I am not sure what you mean by verifying the API.

  
  
Posted 3 years ago

SmarmySeaurchin8 are you referring to reading local files? if so, do you just open() them?

  
  
Posted 3 years ago

Yes. More exactly I'm gzip.open them but I don't believe it should matter

  
  
Posted 3 years ago
688 Views
5 Answers
3 years ago
one year ago
Tags