error in using rs.initiate() in mongo
<p>I want to turn on the replication in monga. So when I tried to use rs.initiate I get the following errorrs.initiate()</p>

<pre><code>{
    "ok" : 0,
    "errmsg" : "This node was not started with the replSet option",
    "code" : 76,
    "codeName" : "NoReplicationEnabled"
}
</code></pre>

<p>I am new to this so I don't know how to correct it. I am following these guidelines 
<a href="https://blog.jixee.me/how-to-use-mongo-connector-with-elasticsearch/" rel="noreferrer">https://blog.jixee.me/how-to-use-mongo-connector-with-elasticsearch/</a></p>