-
Notifications
You must be signed in to change notification settings - Fork 654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IP addresses do not come to elasticsearch #8758
Comments
Could you please share your ntopng.conf file? |
This is a docker container, I can share compose.yml 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: