Input on UDP converting to default UTF-8 but want Hex Strings

Why is logstash converting input stream by default to UTF-8, ASCII, Unsigned Char, I want the data either converted full or do not touch it..

There is no codec to format the received data on UDP port.

Example:
This is the Stream Buffer :

0000 00 00 03 04 00 06 00 00 00 00 00 00 08 00 08 00
0010 45 00 01 44 5a 0b 40 00 40 11 0d 3f c0 a8 28 87
0020 c0 a8 28 87 b5 1c 1f 72 01 30 d3 a0 36 e8 df a6
0030 00 00 00 00 00 76 00 9e 00 09 01 04 41 4d 46 31
0040 3a 6d 65 74 68 6f 64 00 50 4f 53 54 00 3a 70 61
0050 74 68 00 2f 31 32 37 2e 30 2e 30 2e 31 3a 31 32
0060 33 34 38 2f 6e 61 75 73 66 2d 61 75 74 68 2f 76
0070 31 2f 75 65 2d 61 75 74 68 65 6e 74 69 63 61 74
0080 69 6f 6e 73 00 63 6f 6e 74 65 6e 74 2d 74 79 70
0090 65 00 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73
00a0 6f 6e 00 63 6f 6e 74 65 6e 74 2d 6c 65 6e 67 74
00b0 68 00 31 35 38 00 7b 22 73 75 70 69 4f 72 53 75
00c0 63 69 22 3a 22 73 75 63 69 2d 30 2d 34 30 34 2d
00d0 33 30 2d 30 2d 30 2d 30 2d 39 39 39 30 30 30 30
00e0 30 30 31 22 2c 22 73 65 72 76 69 6e 67 4e 65 74
00f0 77 6f 72 6b 4e 61 6d 65 22 3a 22 35 47 3a 6d 6e
0100 63 30 33 30 2e 6d 63 63 34 30 34 2e 33 67 70 70
0110 6e 65 74 77 6f 72 6b 2e 6f 72 67 22 2c 22 61 6d
0120 66 49 6e 73 74 61 6e 63 65 49 64 22 3a 22 35 61
0130 32 62 38 34 65 34 2d 30 63 62 37 2d 34 35 37 35
0140 2d 61 63 30 38 2d 34 36 61 32 38 31 32 62 65 63
0150 30 64 22 7d

When Received on Logstash UDP:

\\xCC=\xc4\x99\\u0000\\u0000\\u0000\\u0000\\u0000v\\u0000\\x9E\\u0000\\t\\u0001\\u0004AMF1:method\\u0000POST\\u0000:path\\u0000/127.0.0.1:12348/nausf-auth/v1/ue-authentications\\u0000content-type\\u0000application/json\\u0000content-length\\u0000158\\u0000{\\"supiOrSuci\\":\\"suci-0-404-30-0-0-0-9990000001\\",\\"servingNetworkName\\":\\"5G:mnc030.mcc404.3gppnetwork.org\\",\\"amfInstanceId\\":\\"5a2b84e4-0cb7-4575-ac08-46a2812bec0d\\"}', headers=[], checksum=None, serialized_key_size=-1, serialized_value_size=433, serialized_header_size=-1)

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