# No logs in discovery

**URL:** <https://discuss.elastic.co/t/no-logs-in-discovery/383044>\
**Category:** Kibana\
**Created:** [October 28, 2025, 10:37am UTC](https://discuss.elastic.co/t/no-logs-in-discovery/383044 "2025-10-28T10:37:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![NeedHelp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/needhelp/32/145530_2.png) [@NeedHelp](https://discuss.elastic.co/u/NeedHelp)\
**Post date:** [October 28, 2025, 10:37am UTC](https://discuss.elastic.co/t/no-logs-in-discovery/383044/1 "2025-10-28T10:37:42Z")

</div>

Hello,  
I have installed the following on three VMs:

- **Elasticsearch:** 192.168.101.9

- **Kibana:** 192.168.101.7

- **OPNsense:** 192.168.101.8

Next, I started the **Fleet Server** and installed it on **Kibana** (192.168.101.7). I then ran **two agents** (with configuration details visible in the screenshot) so they could collect logs from **OPNsense** and make them visible in the **Discovery** view in Kibana.

However, even though I can see the logs flowing into the **Kibana machine** (192.168.101.7), neither of the agents seems to be picking them up. I suspect this because the two following commands return **no results** :

- `sudo journalctl -u elastic-agent -n 100 --no-pager | grep 9002`

- `sudo journalctl -u elastic-agent -n 100 --no-pager | grep 9003`

I am attaching several screenshots and configuration commands below.

sudo ss -lunp | grep -E "9002|9003"

UNCONN 0 0 [::]:9002 [::]:\* users:(("agentbeat",pid=27722,fd=8))

UNCONN 0 0 [::]:9003 [::]:\* users:(("agentbeat",pid=27722,fd=7))

sudo tcpdump -i any udp port 9002 -n

tcpdump: verbose output suppressed, use -v or -vv for full protocol decode

listening on any, link-type LINUX\_SLL (Linux cooked), capture size 262144 bytes

11:22:59.599083 IP 192.168.101.8.upstriggervsw \> 192.168.101.7.dynamid: UDP, length 226

11:22:59.599138 IP 192.168.101.8.upstriggervsw \> 192.168.101.7.dynamid: UDP, length 220

11:22:59.599156 IP 192.168.101.8.upstriggervsw \> 192.168.101.7.dynamid: UDP, length 226

11:22:59.599171 IP 192.168.101.8.upstriggervsw \> 192.168.101.7.dynamid: UDP, length 226

sudo tcpdump -i any udp port 9003 -n

tcpdump: verbose output suppressed, use -v or -vv for full protocol decode

listening on any, link-type LINUX\_SLL (Linux cooked), capture size 262144 bytes

11:24:17.042978 IP 192.168.101.8.14028 \> 192.168.101.7.9003: UDP, length 192

11:24:17.043032 IP 192.168.101.8.14028 \> 192.168.101.7.9003: UDP, length 186

11:24:17.043050 IP 192.168.101.8.14028 \> 192.168.101.7.9003: UDP, length 188

11:24:17.043067 IP 192.168.101.8.14028 \> 192.168.101.7.9003: UDP, length 191

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/8/083bc77533b247c1e1b9834a72800864f1599077.png)

---

<div class="post-metadata">

**Author:** ![Tortoise](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tortoise/32/147587_2.png) [@Tortoise](https://discuss.elastic.co/u/Tortoise)\
**Post date:** [October 29, 2025, 4:39am UTC](https://discuss.elastic.co/t/no-logs-in-discovery/383044/2 "2025-10-29T04:39:09Z")

</div>

Hello @NeedHelp

Welcome to the Community!!

To start with could you please confirm if the system integration is working as expected , are we seeing the system logs/metrics for both the Fleet Server & Fleet Agent in Kibana? If this is working means ElasticAgent is able to send the logs/metrics correctly. Post that we can try to troubleshoot the issue with the Integration : OPNsense

Also if the understanding is correct below is your current setup ?

_ **Elasticsearch:** 192.168.101.9  
 **Kibana:** 192.168.101.7 & (Fleet Server Installed)  
 **OPNsense:** 192.168.101.8 & (Fleet Agent Installed + Data for OPNsense needs to be collected from this host)_

**OPNsense Setup**  
_Navigate to System -\> Settings -\> Logging/Targets  
Add a new Logging/Target (Click the plus icon)  
Transport = UDP or TCP or TLS  
Applications = Select a list of applications to send to remote syslog. Leave empty for all.  
Levels = Nothing Selected  
Facilities = Nothing Selected  
Hostname = IP of Elastic agent as configured in the integration config  
Port = Port of Elastic agent as configured in the integration config  
Certificate = Client certificate to use (when selecting a tls transport type)  
Description = Syslog to Elasticsearch  
Click Save_

Thanks!!
