Git Product home page Git Product logo

Comments (3)

lmangani avatar lmangani commented on July 28, 2024

Could you try adding unserializer => raw to your input?

from pastash.

solarmon avatar solarmon commented on July 28, 2024

@lmangani

Do I add to the input{} or udp{} section? I have tried both and it doesn't seem to have made a difference, I have not done a capture yet to see the contents.

Also, as a comparison, the following udp forwarder solution using socat seems to work as expected:

socat -U - udp4-recv:9060 | tee >(socat -u - udp4-datagram:<Homer #1>:9060) | socat -u - udp4-datagram:<Homer #2>:9060

from pastash.

solarmon avatar solarmon commented on July 28, 2024

With input as:

input {
  udp {
    host => 127.0.0.1
    port => 9060
    unserializer => raw
  }
}

The output UDP packet contents is the same JSON formatted contents:

{"message":"HEP3\u0002\u0010\u0000\u0000\u0000\u0001\u0000\u0007\u0002\u0000\u0000\u0000\u0002\u0000\u0007\u0011\u0000\u0000\u0000\u0007\u0000\b...e\u0000\u0000\u0000\b\u0000\b...'\u0000\u0000\u0000\t\u0000\nbF......\u0000\u0000\u0000\n\u0000\n\u0000\u0004......\u0000\u0000\u0000\u000b\u0000\u0007\u0005\u0000\u0000\u0000\f\u0000\n\u0000e\u0000\u0000\u0000\u0000\u0000\u0011\u0000&492b6843ed8d4bff9b93b7224dc35816\u0000\u0000\u0000\u0003\u0000\nm.........\u0000\u0000\u0000\u0004\u0000\n...\f+...\u0000\u0000\u0000\u000f\u0001...{\n \"ssrc\": 4199229345,\n \"sender_information\": {\n  \"ntp_timestamp_sec\": 3857802597,\n  \"ntp_timestamp_usec\": 1198811271,\n  \"rtp_timestamp\": 32000,\n  \"packets\": 175,\n  \"octets\": 28000\n },\n \"type\": 200,\n \"report_blocks\": [\n  {\n   \"source_ssrc\": 0,\n   \"fraction_lost\": 1,\n   \"packets_lost\": 1,\n   \"highest_seq_no\": 31673,\n   \"ia_jitter\": 78,\n   \"lsr\": 0,\n   \"dlsr\": 0\n  }\n ],\n \"report_count\": 1\n}","host":"127.0.0.1","udp_port":"9060","@timestamp":"2022-04-01T11:49:57.312Z","@version":"1"}

from pastash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.