# How to split 2 curl command output in message

**URL:** <https://discuss.elastic.co/t/how-to-split-2-curl-command-output-in-message/233753>\
**Category:** Logstash\
**Created:** [May 21, 2020, 2:25pm UTC](https://discuss.elastic.co/t/how-to-split-2-curl-command-output-in-message/233753 "2020-05-21T14:25:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aannee](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@aannee](https://discuss.elastic.co/u/aannee)\
**Post date:** [May 21, 2020, 2:25pm UTC](https://discuss.elastic.co/t/how-to-split-2-curl-command-output-in-message/233753/1 "2020-05-21T14:25:33Z")

</div>

Hi, I'm still a newbie in ELK. So, it's a big help if you can give any advise to me. 😃 I really want to explore ELK.

I just need to ask if its possible to split the output of this 2 script. And how can I split it?

```auto
input {
           exec {
                   command => "bash curl.sh; bash curl2.sh"
                   interval => 180
            }
}
output {
  stdout { codec => rubydebug }
}

```

And I don't know if its possible to join this json object. Like the sql join. Hope you can help me out. Thank you!

---

<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:** [June 18, 2020, 2:25pm UTC](https://discuss.elastic.co/t/how-to-split-2-curl-command-output-in-message/233753/2 "2020-06-18T14:25:36Z")

</div>

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