# Different input source with same information problem

**URL:** <https://discuss.elastic.co/t/different-input-source-with-same-information-problem/103980>\
**Category:** Logstash\
**Created:** [October 14, 2017, 8:20am UTC](https://discuss.elastic.co/t/different-input-source-with-same-information-problem/103980 "2017-10-14T08:20:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kiwi0217](https://avatars.discourse-cdn.com/v4/letter/k/b19c9b/32.png) [@kiwi0217](https://discuss.elastic.co/u/kiwi0217)\
**Post date:** [October 14, 2017, 8:20am UTC](https://discuss.elastic.co/t/different-input-source-with-same-information-problem/103980/1 "2017-10-14T08:20:58Z")

</div>

I want to use one filter to fetch same information from multiple input logfile like：  
userA's log: "git clone" and userB's log: "git clone"  
can I gork this and make difference output information to elasticsearch like：  
{"git\_clone\_times":"userA"}{"git\_clone\_times":"userB"}?  
thanks.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [October 16, 2017, 7:52pm UTC](https://discuss.elastic.co/t/different-input-source-with-same-information-problem/103980/2 "2017-10-16T19:52:51Z")

</div>

I don't understand the question. Instead of describing the problem give concrete examples. What do the log files look like? What does the resulting event produced by Logstash look like? Use JSON notation.

---

<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:** [November 13, 2017, 7:52pm UTC](https://discuss.elastic.co/t/different-input-source-with-same-information-problem/103980/3 "2017-11-13T19:52:56Z")

</div>

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