Hi,
1. Describe your incident:
i want to log a HTTP JSON Stream from my Bluecat DNS/DHCP Servers.
https://docs.bluecatnetworks.com/r/Address-Manager-Administration-Guide/DNS-query-event/9.3.0
I found online that i should use RAW/Plaintext TCP as input, which i select and get the messages in graylog.
But my problem is that one JSON Message from my Bluecat System was splittet into many single Messages in Graylog.
2. Describe your environment:
I use the actual Graylog 6.0.6 and new to graylog
.
3. What steps have you already taken to try and solve the problem?
I have no idea how can i map the messages together or tell graylog thats a JSON format and split the fields in one message.
I tried to use the “Null frame delimiter” in the input, but then i had many HTTP JSON Messages include http header in one graylog message.
4. How can the community help?
Question is how can i map the messages together or is there another input that i can usw. ore some other ideas to get a JSON HTTP Stream working as expected.
That some of the splittes of one Message
Thats the JSON HTTP Message example
Example event message
{
"dataType": "Message",
"dataTypeId": 1,
"key": "7bed8160-c8a1-4cb1-8a28-463909aa6844",
"messageType": "AuthQuery",
"messageTypeId": 1,
"payloadType": "dnstap",
"requestData": {
"fullRcode": 0,
"header": {
"aa": false,
"ad": true,
"anCount": 0,
"arCount": 1,
"cd": false,
"id": 3341,
"nsCount": 0,
"opcode": 0,
"qdCount": 1,
"qr": 0,
"ra": false,
"rcode": 0,
"rd": true,
"tc": false
},
"opt": {
"do": false,
"ednsVersion": 0,
"extendedRcode": 0,
"options": [
{
"optCode": 10,
"optName": "Cookie",
"optValue": "hbbDFmHUM9w="
}
],
"udpPayloadSize": 4096
},
"question": [
{
"class": "IN",
"domainName": "h1.example.com.",
"questionType": "A",
"questionTypeId": 1
}
],
"rcodeName": "NoError",
"time": 1599780145572110343,
"timePrecision": "ns"
},
"responseAddress": "127.0.0.1",
"responsePort": 0,
"serverId": "test-server",
"serverVersion": "BIND 9.16.5",
"socketFamily": "INET",
"socketProtocol": "UDP",
"sourceAddress": "127.0.0.1",
"sourceId": "421bce7d-b4e6-b705-6057-7039628a9847",
"sourcePort": 39207,
"time": 1599780145572110343,
"timePrecision": "ns"
}
Regardes
Andre