# How to output all data without mapping in http output

**URL:** https://discuss.elastic.co/t/how-to-output-all-data-without-mapping-in-http-output/198332
**Category:** Logstash
**Created:** [September 6, 2019, 1:37am UTC](https://discuss.elastic.co/t/how-to-output-all-data-without-mapping-in-http-output/198332 "2019-09-06T01:37:51Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![rwatts3](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rwatts3/32/39952_2.png) [@rwatts3](https://discuss.elastic.co/u/rwatts3)
#### Post date: [September 6, 2019, 1:37am UTC](https://discuss.elastic.co/t/how-to-output-all-data-without-mapping-in-http-output/198332/1 "2019-09-06T01:37:52Z")

</div>

Greetings,

I have a logstash pipeline where I am simply wanting to parse logs, run a few filters, then output the entire payload to an external source via the http output plugin.

I am using **format =\> "message"** with a message key.

I understand there is the json format type however I must construct the payload with specific keys such as

- Commands
- Document

**TLDR**  
What variable in the output contains all data fields.

**Code Example**

```auto
http {
		format => "message"
		http_method => "post"
		content_type => "application/json"
		url => " **REDACTED_ENDPOINT**"
		message => '{"Commands":[{"Document":{"some_key": "%{some_value}", "data": %{**EXPECTED_VARIABLE_WITH_ALL_DATA}]}'
	}

```

---

<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: [October 4, 2019, 1:37am UTC](https://discuss.elastic.co/t/how-to-output-all-data-without-mapping-in-http-output/198332/2 "2019-10-04T01:37:55Z")

</div>

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