title: Save tail output to mysql
body: <p>I'm having a problem, I need to save the tail output to mysql. I can save the output to a file,
  Here is the tail command:</p>
  
  <pre><code>tail -f file_ | egrep --line-buffered param_ &gt; path_destinty
  </code></pre>
  
  <p>For my application it is necessary to save the information in the time that it is written.</p>
  
  <p>Any tips? </p>