I am using elk stack and i want to ask that if i have logstash do i need another elasticsearch as ingest node ? becuase logstash can also preprocess the data
If you are using logstash, you don't need to have an ingest pipeline in elasticsearch.
But I'm not sure I understood your question.