Hello Ylasir,
here are two messages , the same ones i used to validate the pipeline itself.
here is the first one:
{
"_index": "filebeat-7.17.1-2022.03.11-000001",
"_type": "_doc",
"_id": "deR2h38Bwp_nE4SE2J0D",
"_version": 1,
"_score": 1,
"_source": {
"@timestamp": "2022-03-14T08:06:26.074Z",
"message": "2022-03-14 08:06:25,009 - suzieq.poller.worker.nodes.node - ERROR - Unable to connect to F88_G1MSW10 for show bgp all neighbors due to Permission denied",
"input": {
"type": "filestream"
},
"ecs": {
"version": "1.12.0"
},
"host": {
"name": "sq-poller-0",
"ip": [
"10.244.1.115",
"fe80::2009:a7ff:fe58:1fb8"
],
"mac": [
"22:09:a7:58:1f:b8"
],
"hostname": "sq-poller-0",
"architecture": "x86_64",
"os": {
"platform": "ubuntu",
"version": "20.04.3 LTS (Focal Fossa)",
"family": "debian",
"name": "Ubuntu",
"kernel": "5.4.0-1069-azure",
"codename": "focal",
"type": "linux"
},
"containerized": true
},
"agent": {
"id": "fc2fa625-f84a-42f1-9e90-7caa86c64643",
"name": "sq-poller-0",
"type": "filebeat",
"version": "7.17.1",
"hostname": "sq-poller-0",
"ephemeral_id": "2c74d2c5-170a-4404-99ed-edfe30a9e630"
},
"log": {
"offset": 2921049,
"file": {
"path": "/tmp/sq-poller-0.log"
}
}
},
"fields": {
"host.os.name.text": [
"Ubuntu"
],
"host.hostname": [
"sq-poller-0"
],
"host.mac": [
"22:09:a7:58:1f:b8"
],
"host.ip": [
"10.244.1.115",
"fe80::2009:a7ff:fe58:1fb8"
],
"agent.type": [
"filebeat"
],
"host.os.version": [
"20.04.3 LTS (Focal Fossa)"
],
"host.os.kernel": [
"5.4.0-1069-azure"
],
"host.os.name": [
"Ubuntu"
],
"agent.name": [
"sq-poller-0"
],
"host.name": [
"sq-poller-0"
],
"host.os.type": [
"linux"
],
"host.os.codename": [
"focal"
],
"input.type": [
"filestream"
],
"log.offset": [
2921049
],
"agent.hostname": [
"sq-poller-0"
],
"message": [
"2022-03-14 08:06:25,009 - suzieq.poller.worker.nodes.node - ERROR - Unable to connect to F88_G1MSW10 for show bgp all neighbors due to Permission denied"
],
"host.architecture": [
"x86_64"
],
"@timestamp": [
"2022-03-14T08:06:26.074Z"
],
"agent.id": [
"fc2fa625-f84a-42f1-9e90-7caa86c64643"
],
"ecs.version": [
"1.12.0"
],
"host.containerized": [
true
],
"host.os.platform": [
"ubuntu"
],
"log.file.path": [
"/tmp/sq-poller-0.log"
],
"agent.ephemeral_id": [
"2c74d2c5-170a-4404-99ed-edfe30a9e630"
],
"agent.version": [
"7.17.1"
],
"host.os.family": [
"debian"
]
}
}
and here is the second
{
"_index": "filebeat-7.17.1-2022.03.11-000001",
"_type": "_doc",
"_id": "F-R5h38Bwp_nE4SE9Z4D",
"_version": 1,
"_score": 1,
"_source": {
"@timestamp": "2022-03-14T08:09:50.106Z",
"log": {
"offset": 2950510,
"file": {
"path": "/tmp/sq-poller-0.log"
}
},
"input": {
"type": "filestream"
},
"ecs": {
"version": "1.12.0"
},
"host": {
"os": {
"type": "linux",
"platform": "ubuntu",
"version": "20.04.3 LTS (Focal Fossa)",
"family": "debian",
"name": "Ubuntu",
"kernel": "5.4.0-1069-azure",
"codename": "focal"
},
"containerized": true,
"ip": [
"10.244.1.115",
"fe80::2009:a7ff:fe58:1fb8"
],
"mac": [
"22:09:a7:58:1f:b8"
],
"name": "sq-poller-0",
"hostname": "sq-poller-0",
"architecture": "x86_64"
},
"agent": {
"type": "filebeat",
"version": "7.17.1",
"hostname": "sq-poller-0",
"ephemeral_id": "2c74d2c5-170a-4404-99ed-edfe30a9e630",
"id": "fc2fa625-f84a-42f1-9e90-7caa86c64643",
"name": "sq-poller-0"
},
"message": "2022-03-14 08:09:48,772 - suzieq.poller.worker.nodes.node - ERROR - Unable to connect to F88_G1MSW10 for show ip interface due to Permission denied"
},
"fields": {
"host.os.name.text": [
"Ubuntu"
],
"host.hostname": [
"sq-poller-0"
],
"host.mac": [
"22:09:a7:58:1f:b8"
],
"host.ip": [
"10.244.1.115",
"fe80::2009:a7ff:fe58:1fb8"
],
"agent.type": [
"filebeat"
],
"host.os.version": [
"20.04.3 LTS (Focal Fossa)"
],
"host.os.kernel": [
"5.4.0-1069-azure"
],
"host.os.name": [
"Ubuntu"
],
"agent.name": [
"sq-poller-0"
],
"host.name": [
"sq-poller-0"
],
"host.os.type": [
"linux"
],
"host.os.codename": [
"focal"
],
"input.type": [
"filestream"
],
"log.offset": [
2950510
],
"agent.hostname": [
"sq-poller-0"
],
"message": [
"2022-03-14 08:09:48,772 - suzieq.poller.worker - WARNING - log level WARNING"
],
"host.architecture": [
"x86_64"
],
"@timestamp": [
"2022-03-14T08:09:50.106Z"
],
"agent.id": [
"fc2fa625-f84a-42f1-9e90-7caa86c64643"
],
"ecs.version": [
"1.12.0"
],
"host.containerized": [
true
],
"host.os.platform": [
"ubuntu"
],
"log.file.path": [
"/tmp/sq-poller-0.log"
],
"agent.ephemeral_id": [
"2c74d2c5-170a-4404-99ed-edfe30a9e630"
],
"agent.version": [
"7.17.1"
],
"host.os.family": [
"debian"
]
}
}