Open sergkstudio opened 1 month ago
Could you please share your ntopng.conf file?
Could you please share your ntopng.conf file?
This is a docker container, I can share compose.yml File ntopng.conf in ntop directory is empty
version: "3.8"
services:
ntopng:
image: ntop/ntopng:stable
container_name: ntopng
restart: unless-stopped
network_mode: host
privileged: true
volumes:
- ./data/ntopng:/var/lib/ntopng
command: ntopng --community -d "/var/lib/ntopng" -i "wg-firezone" -F
"es;flows;ntopng-%Y.%m.%d;http://192.168.252.253:9200/_bulk;"
elasticsearch:
image: elasticsearch:8.15.3
container_name: elasticsearch
restart: unless-stopped
environment:
- node.name=elasticsearch
- discovery.type=single-node
- bootstrap.memory_lock=true
- ES_JAVA_OPTS=-Xms256m -Xmx256m
- xpack.security.enabled=false # Отключение безопасности для простого запуска
ports:
- 9200:9200
#volumes:
# - ./esdata:/usr/share/elasticsearch/data
# - ./esdata/log:/usr/share/elasticsearch/logs
networks:
default:
ipv4_address: 172.18.2.18
kibana:
image: kibana:8.15.3
restart: unless-stopped
container_name: kibana
environment:
ELASTICSEARCH_URL: http://elasticsearch:9200
ELASTICSEARCH_HOSTS: '["http://elasticsearch:9200"]'
ports:
- 5601:5601
depends_on:
- elasticsearch
networks:
default:
ipv4_address: 172.18.2.19
redis:
image: redis:alpine
container_name: redis
command:
- redis-server
- --save 900 1
ports:
- 1679:6379
volumes:
- ./data/redis:/data
networks:
default:
ipv4_address: 172.18.2.20
networks:
default:
ipam:
config:
- subnet: 172.18.2.16/29
gateway: 172.18.2.17
Hi @sergkstudio please capture a small pcap of your traffic and send me that to biscosi@ntop.org In my labs everything is exported correctly, so i'd like to have a small pcap to reproduce your issue
Checking from kibana, same configuration as yours, but on my side the IPs are correctly exported. Please try by moving to the ntopng dev version, if the issue persists or not
Environment:
What happened: Server end client IP addresses do not come to elasticsearch by sending "-F “es;flows;ntopng-%Y.%m.%d;http://XYZ:9200/_bulk;”" IP address data in ntop is normal
JSON example of incoming data