# How to get the original log from winlogbeat?

**URL:** <https://discuss.elastic.co/t/how-to-get-the-original-log-from-winlogbeat/199697>\
**Category:** Logstash\
**Created:** [September 16, 2019, 4:01pm UTC](https://discuss.elastic.co/t/how-to-get-the-original-log-from-winlogbeat/199697 "2019-09-16T16:01:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Ben\_Hayoun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/daniel_ben_hayoun/32/53867_2.png) [@Daniel\_Ben\_Hayoun](https://discuss.elastic.co/u/Daniel_Ben_Hayoun)\
**Post date:** [September 16, 2019, 4:01pm UTC](https://discuss.elastic.co/t/how-to-get-the-original-log-from-winlogbeat/199697/1 "2019-09-16T16:01:25Z")

</div>

Hi,  
I'm using **winlogbeat** to publish event logs to **logstash**. I mean that the output from winlogbeat is for **another** machine that runs logstash. The plugin is :  
input {  
# tcp {  
# port =\> 12345

```
	# }

	beats {
		port=> 6666
	}
}

filter {
	mutate { rename => { "message" => "forensic"} }

}
output {
	stdout{}
}

```

I want the **original** log sent from **winlogbeat** , including **all** existing fields. Usually the field "message" contain the entire log . the problem is the field "message is already _ **occupied** _ by winlogbeat with different data, and when i do :  
`mutate { rename => { "message" => "forensic"} }`

I don't get the entire log , but only the field that winlogbeat occupied with some different data rather then the **entire** original log. how can I get the original log sent from winlogbeat?

---

<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 14, 2019, 4:01pm UTC](https://discuss.elastic.co/t/how-to-get-the-original-log-from-winlogbeat/199697/2 "2019-10-14T16:01:48Z")

</div>

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