title: Windows equivalent for cat command to ingest data into ElasticSearch using Logstash
body: <p>I'm trying to run the <a href="https://github.com/elastic/examples/tree/master/ELK_NGINX_Plus-json" rel="nofollow noreferrer">ELK for NGINX Plus (JSON) example</a> on a Windows 10 machine, and am hung up on finding a Windows equivalent to the following unix command for ingesting the log data into Elasticsearch:</p>
  
  <pre><code>cat nginxplus_json_logs | &lt;path_to_logstash_root_dir&gt;/bin/logstash -f nginxplus_json_logstash.conf
  </code></pre>
  
  <p>From <a href="https://stackoverflow.com/questions/30058247/unix-cat-equivalent-command-in-windows-cmd">this question</a> and <a href="https://stackoverflow.com/questions/60244/is-there-replacement-for-cat-on-windows">this question</a> I understand that <code>type</code> can perform some of the same actions as <code>cat</code> in unix.  I tried the exact same command replacing <code>cat</code> with <code>type</code>, which unsurprisingly didn't work. Here is my command and response:</p>
  
  <pre><code>type nginxplus_json_logs.txt | ../logstash-2.1.1/bin/logstash -f nginxplus_json_logstash.conf
  
  '..' is not recognized as an internal or external command,
  operable program or batch file.
  </code></pre>
  
  <p>Is it possible to replicate that action using the <code>type</code> command? If so, how do I need to change the way I have my command formatted?</p>