title: How to set alert for multiple error scenario for multiple API logs in Splunk
body: <p>I'm naïve to splunk and I have to done this task on priority basis,I want to set alert for multiple api deployed on PCF, 
  E.g.</p>
  
  <p>API-NAME : Error1,Error2,3..</p>
  
  <p>API-NAME2 : Error1,Error2,3.</p>
  
  <p>API-NAME3 : Error1,Error2,3.</p>
  
  <p>The error are same for every api.</p>
  
  <p>How to write a splunk query to raise alert for above condition.</p>
  
  <p>I thought I will simply used or condition to create queries</p>
  
  <p>like
  Error1 or Error 2</p>
  
  <p>but this will create a global alert and I don't want this.</p>
  
  <p>I can't use API name in query, since api name is logged in many condition (info,debug etc) this will unnecessary create alert in many case,</p>
  
  <p>*API are simply URL which are calling a backend server.</p>