# GELF Output Problem missing short\_message

**URL:** <https://discuss.elastic.co/t/gelf-output-problem-missing-short-message/92578>\
**Category:** Logstash\
**Created:** [July 11, 2017, 5:56am UTC](https://discuss.elastic.co/t/gelf-output-problem-missing-short-message/92578 "2017-07-11T05:56:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![philippkahr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/philippkahr/32/100137_2.png) [@philippkahr](https://discuss.elastic.co/u/philippkahr)\
**Post date:** [July 11, 2017, 5:56am UTC](https://discuss.elastic.co/t/gelf-output-problem-missing-short-message/92578/1 "2017-07-11T05:56:03Z")

</div>

Hallo

I face an interestinge problem with the GELF Output. I need to send all data that comes from the netflow plugin into the GELF Output, but on STDOUT i always get this Error

`> WARN logstash.outputs.gelf - Trouble sending GELF event {:gelf_event=>{"short_message"=>nil, "full_message"=>"%{message}", "host"=>"192.168.1.1", "_ipfix_destinationIPv4Address"=>"192.168.1.2", "_ipfix_octetTotalCount"=>0, "_ipfix_destinationTransportPort"=>55446, "_ipfix_flowStartSysUpTime"=>4294967295, "_ipfix_sourceIPv4Address"=>"192.168.1.1", "_ipfix_flowEndSysUpTime"=>4294967295, "_ipfix_flowDurationMilliseconds"=>0, "_ipfix_ingressInterface"=>4294967295, "_ipfix_version"=>10, "_ipfix_packetDeltaCount"=>0, "_ipfix_firewallEvent"=>3, "_ipfix_protocolIdentifier"=>6, "_ipfix_sourceMacAddress"=>"00:00:00:00:00:00", "_ipfix_egressInterface"=>41874, "_ipfix_octetDeltaCount"=>0, "_ipfix_sourceTransportPort"=>636, "_ipfix_packetTotalCount"=>0, "_type"=>"ipfix", "level"=>6}, :event=>2017-07-10T21:05:37.000Z 10.99.255.11 %{message}, :error=>> #<ArgumentError: short_message is missing. Options version, short_message and host must be set.>}`

I tried googling that error but i cannot mutate the input to copy to short\_message but when i this, it still fails.

> Logstash config  
> input {  
> udp {  
> port =\> 1535  
> codec =\> netflow {  
> versions =\> [10]  
> target =\> ipfix  
> }  
> type =\> ipfix  
> }  
> tcp {  
> port =\> 4739  
> codec =\> netflow {  
> versions =\> [10]  
> target =\> ipfix  
> }  
> type =\> ipfix  
> }  
> }

> output {  
> stdout{}  
> gelf {  
> host =\> 'graylog'  
> port =\> 12202  
> short\_message =\> 'short\_message'  
> }  
> }

---

<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:** [August 8, 2017, 5:56am UTC](https://discuss.elastic.co/t/gelf-output-problem-missing-short-message/92578/2 "2017-08-08T05:56:05Z")

</div>

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