# 2 question about logstash config

**URL:** <https://discuss.elastic.co/t/2-question-about-logstash-config/229922>\
**Category:** Logstash\
**Created:** [April 27, 2020, 8:12am UTC](https://discuss.elastic.co/t/2-question-about-logstash-config/229922 "2020-04-27T08:12:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sowter](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sowter/32/65733_2.png) [@sowter](https://discuss.elastic.co/u/sowter)\
**Post date:** [April 27, 2020, 8:12am UTC](https://discuss.elastic.co/t/2-question-about-logstash-config/229922/1 "2020-04-27T08:12:14Z")

</div>

1. 

How to write to the specified space in kibana

in my space

![image](https://us1.discourse-cdn.com/elastic/original/3X/4/d/4d955748e42d34f01d641dc3848b94f8641e478e.png)

Put data (index) into 'read' space

1. 

use bin / logstash -f import csv data

How to close the program automatically after writing the data complete

I must manually close (by ctrl+c )now

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 27, 2020, 8:40am UTC](https://discuss.elastic.co/t/2-question-about-logstash-config/229922/2 "2020-04-27T08:40:49Z")

</div>

1. A space isn't an index, it's a collection of them that exists only in Kibana. You should be able to see what indices the space contains using `_cat/indices` in Dev Tools.
2. Use `cat $filename > logstash -f import` and the `stdin` input.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 25, 2020, 8:40am UTC](https://discuss.elastic.co/t/2-question-about-logstash-config/229922/3 "2020-05-25T08:40:50Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
