- Elastic integrations
- Integrations quick reference
- 1Password
- Abnormal Security
- ActiveMQ
- Active Directory Entity Analytics
- Airflow
- Akamai
- Apache
- API (custom)
- Arbor Peakflow SP Logs
- Arista NG Firewall
- Atlassian
- Auditd
- Auth0
- authentik
- AWS
- Amazon CloudFront
- Amazon DynamoDB
- Amazon EBS
- Amazon EC2
- Amazon ECS
- Amazon EMR
- AWS API Gateway
- Amazon GuardDuty
- AWS Health
- Amazon Kinesis Data Firehose
- Amazon Kinesis Data Stream
- Amazon Managed Streaming for Apache Kafka (MSK)
- Amazon NAT Gateway
- Amazon RDS
- Amazon Redshift
- Amazon S3
- Amazon S3 Storage Lens
- Amazon Security Lake
- Amazon SNS
- Amazon SQS
- Amazon VPC
- Amazon VPN
- AWS Bedrock
- AWS Billing
- AWS CloudTrail
- AWS CloudWatch
- AWS ELB
- AWS Fargate
- AWS Inspector
- AWS Lambda
- AWS Logs (custom)
- AWS Network Firewall
- AWS Route 53
- AWS Security Hub
- AWS Transit Gateway
- AWS Usage
- AWS WAF
- Azure
- Activity logs
- App Service
- Application Gateway
- Application Insights metrics
- Application Insights metrics overview
- Application State Insights metrics
- Azure logs (v2 preview)
- Azure OpenAI
- Billing metrics
- Container instance metrics
- Container registry metrics
- Container service metrics
- Custom Azure Logs
- Custom Blob Storage Input
- Database Account metrics
- Event Hub input
- Firewall logs
- Frontdoor
- Functions
- Microsoft Entra ID
- Monitor metrics
- Network Watcher VNet
- Network Watcher NSG
- Platform logs
- Resource metrics
- Spring Cloud logs
- Storage Account metrics
- Virtual machines metrics
- Virtual machines scaleset metrics
- Barracuda
- BitDefender
- Bitwarden
- blacklens.io
- Blue Coat Director Logs
- BBOT (Bighuge BLS OSINT Tool)
- Box Events
- Bravura Monitor
- Broadcom ProxySG
- Canva
- Cassandra
- CEL Custom API
- Ceph
- Check Point
- Cilium Tetragon
- CISA Known Exploited Vulnerabilities
- Cisco
- Cisco Meraki Metrics
- Citrix
- Claroty CTD
- Cloudflare
- Cloud Asset Inventory
- CockroachDB Metrics
- Common Event Format (CEF)
- Containerd
- CoreDNS
- Corelight
- Couchbase
- CouchDB
- Cribl
- CrowdStrike
- Cyberark
- Cybereason
- CylanceProtect Logs
- Custom Websocket logs
- Darktrace
- Data Exfiltration Detection
- DGA
- Digital Guardian
- Docker
- Elastic APM
- Elastic Fleet Server
- Elastic Security
- Elastic Stack monitoring
- Elasticsearch Service Billing
- Envoy Proxy
- ESET PROTECT
- ESET Threat Intelligence
- etcd
- Falco
- F5
- File Integrity Monitoring
- FireEye Network Security
- First EPSS
- Forcepoint Web Security
- ForgeRock
- Fortinet
- Gigamon
- GitHub
- GitLab
- Golang
- Google Cloud
- Custom GCS Input
- GCP
- GCP Audit logs
- GCP Billing metrics
- GCP Cloud Run metrics
- GCP CloudSQL metrics
- GCP Compute metrics
- GCP Dataproc metrics
- GCP DNS logs
- GCP Firestore metrics
- GCP Firewall logs
- GCP GKE metrics
- GCP Load Balancing metrics
- GCP Metrics Input
- GCP PubSub logs (custom)
- GCP PubSub metrics
- GCP Redis metrics
- GCP Security Command Center
- GCP Storage metrics
- GCP VPC Flow logs
- GCP Vertex AI
- GoFlow2 logs
- Hadoop
- HAProxy
- Hashicorp Vault
- HTTP Endpoint logs (custom)
- IBM MQ
- IIS
- Imperva
- InfluxDb
- Infoblox
- Iptables
- Istio
- Jamf Compliance Reporter
- Jamf Pro
- Jamf Protect
- Jolokia Input
- Journald logs (custom)
- JumpCloud
- Kafka
- Keycloak
- Kubernetes
- LastPass
- Lateral Movement Detection
- Linux Metrics
- Living off the Land Attack Detection
- Logs (custom)
- Lumos
- Lyve Cloud
- Mattermost
- Memcached
- Menlo Security
- Microsoft
- Microsoft 365
- Microsoft Defender for Cloud
- Microsoft Defender for Endpoint
- Microsoft DHCP
- Microsoft DNS Server
- Microsoft Entra ID Entity Analytics
- Microsoft Exchange Online Message Trace
- Microsoft Exchange Server
- Microsoft Graph Activity Logs
- Microsoft M365 Defender
- Microsoft Office 365 Metrics Integration
- Microsoft Sentinel
- Microsoft SQL Server
- Mimecast
- ModSecurity Audit
- MongoDB
- MongoDB Atlas
- MySQL
- Nagios XI
- NATS
- NetFlow Records
- Netskope
- Network Beaconing Identification
- Network Packet Capture
- Nginx
- Okta
- Oracle
- OpenCanary
- Osquery
- Palo Alto
- pfSense
- PHP-FPM
- PingOne
- PingFederate
- Pleasant Password Server
- PostgreSQL
- Prometheus
- Proofpoint TAP
- Proofpoint On Demand
- Pulse Connect Secure
- Qualys VMDR
- QNAP NAS
- RabbitMQ Logs
- Radware DefensePro Logs
- Rapid7
- Redis
- Rubrik RSC Metrics Integration
- Salesforce
- SentinelOne
- ServiceNow
- Slack Logs
- Snort
- Snyk
- SonicWall Firewall
- Sophos
- Spring Boot
- SpyCloud Enterprise Protection
- SQL Input
- Squid Logs
- SRX
- STAN
- Statsd Input
- Sublime Security
- Suricata
- StormShield SNS
- Symantec
- Symantec Endpoint Security
- Sysmon for Linux
- Sysdig
- Syslog Router Integration
- System
- System Audit
- Tanium
- TCP Logs (custom)
- Teleport
- Tenable
- Threat intelligence
- ThreatConnect
- Threat Map
- Thycotic Secret Server
- Tines
- Traefik
- Trellix
- Trend Micro
- TYCHON Agentless
- UDP Logs (custom)
- Universal Profiling
- Vectra Detect
- VMware
- WatchGuard Firebox
- WebSphere Application Server
- Windows
- Wiz
- Zeek
- ZeroFox
- Zero Networks
- ZooKeeper Metrics
- Zoom
- Zscaler
Iptables Integration
editIptables Integration
editVersion |
1.17.0 (View all) |
Compatible Kibana version(s) |
8.7.1 or higher |
Supported Serverless project types |
Security |
Subscription level |
Basic |
Level of support |
Elastic |
This is an integration for iptables
and ip6tables
logs. It parses logs
received over the network via syslog (UDP), read from a file, or read from
journald. Also, it understands the prefix added by some Ubiquiti firewalls,
which includes the rule set name, rule number, and the action performed on the
traffic (allow/deny).
The module is by default configured to run with the udp
input on port 9001
.
However, it can also be configured to read from a file path or journald.
Logs
editIptables log
editThis is the Iptables log
dataset.
Example
An example event for log
looks as following:
{ "@timestamp": "2021-03-12T14:10:18.000Z", "agent": { "ephemeral_id": "9d70b3da-b816-48af-9c86-8e6c6a5bf0fb", "id": "4e644293-3984-48e7-a63c-00be2338b58d", "name": "docker-fleet-agent", "type": "filebeat", "version": "8.8.0" }, "data_stream": { "dataset": "iptables.log", "namespace": "ep", "type": "logs" }, "destination": { "ip": "10.4.0.5", "mac": "90-10-20-76-8D-20", "port": 443 }, "ecs": { "version": "8.11.0" }, "elastic_agent": { "id": "4e644293-3984-48e7-a63c-00be2338b58d", "snapshot": true, "version": "8.8.0" }, "event": { "action": "drop", "agent_id_status": "verified", "category": [ "network" ], "created": "2023-04-25T19:13:39.793Z", "dataset": "iptables.log", "ingested": "2023-04-25T19:13:40Z", "kind": "event", "timezone": "+00:00", "type": [ "denied", "connection" ] }, "input": { "type": "udp" }, "iptables": { "ether_type": 2048, "fragment_flags": [ "DF" ], "id": 0, "input_device": "eth0", "length": 52, "output_device": "", "precedence_bits": 0, "tcp": { "flags": [ "ACK" ], "reserved_bits": 0, "window": 2853 }, "tos": 0, "ttl": 63, "ubiquiti": { "input_zone": "wan", "output_zone": "lan", "rule_number": "default", "rule_set": "wan-lan" } }, "log": { "source": { "address": "172.18.0.5:39990" }, "syslog": { "priority": 6 } }, "message": "Hostname kernel: [wan-lan-default-D]IN=eth0 OUT= MAC=90:10:20:76:8d:20:90:10:65:29:b6:2a:08:00 SRC=67.43.156.15 DST=10.4.0.5 LEN=52 TOS=0x00 PREC=0x00 TTL=63 ID=0 DF PROTO=TCP SPT=38842 DPT=443 WINDOW=2853 RES=0x00 ACK URGP=0", "network": { "community_id": "1:jc/7ajWLmm0xdpLA7mOyvas9TyE=", "transport": "tcp", "type": "ipv4" }, "observer": { "egress": { "zone": "lan" }, "ingress": { "zone": "wan" }, "name": "Hostname" }, "related": { "ip": [ "67.43.156.15", "10.4.0.5" ] }, "rule": { "id": "default", "name": "wan-lan" }, "source": { "as": { "number": 35908 }, "geo": { "continent_name": "Asia", "country_iso_code": "BT", "country_name": "Bhutan", "location": { "lat": 27.5, "lon": 90.5 } }, "ip": "67.43.156.15", "mac": "90-10-65-29-B6-2A", "port": 38842 }, "tags": [ "iptables-log", "forwarded" ] }
Exported fields
Field | Description | Type |
---|---|---|
@timestamp |
Event timestamp. |
date |
cloud.account.id |
The cloud account or organization id used to identify different entities in a multi-tenant environment. Examples: AWS account id, Google Cloud ORG Id, or other unique identifier. |
keyword |
cloud.availability_zone |
Availability zone in which this host is running. |
keyword |
cloud.image.id |
Image ID for the cloud instance. |
keyword |
cloud.instance.id |
Instance ID of the host machine. |
keyword |
cloud.instance.name |
Instance name of the host machine. |
keyword |
cloud.machine.type |
Machine type of the host machine. |
keyword |
cloud.project.id |
Name of the project in Google Cloud. |
keyword |
cloud.provider |
Name of the cloud provider. Example values are aws, azure, gcp, or digitalocean. |
keyword |
cloud.region |
Region in which this host is running. |
keyword |
container.id |
Unique container id. |
keyword |
container.image.name |
Name of the image the container was built on. |
keyword |
container.labels |
Image labels. |
object |
container.name |
Container name. |
keyword |
data_stream.dataset |
Data stream dataset. |
constant_keyword |
data_stream.namespace |
Data stream namespace. |
constant_keyword |
data_stream.type |
Data stream type. |
constant_keyword |
destination.as.number |
Unique number allocated to the autonomous system. The autonomous system number (ASN) uniquely identifies each network on the Internet. |
long |
destination.as.organization.name |
Organization name. |
keyword |
destination.as.organization.name.text |
Multi-field of |
match_only_text |
destination.geo.city_name |
City name. |
keyword |
destination.geo.continent_name |
Name of the continent. |
keyword |
destination.geo.country_iso_code |
Country ISO code. |
keyword |
destination.geo.country_name |
Country name. |
keyword |
destination.geo.location |
Longitude and latitude. |
geo_point |
destination.geo.region_iso_code |
Region ISO code. |
keyword |
destination.geo.region_name |
Region name. |
keyword |
destination.ip |
IP address of the destination (IPv4 or IPv6). |
ip |
destination.mac |
MAC address of the destination. The notation format from RFC 7042 is suggested: Each octet (that is, 8-bit byte) is represented by two [uppercase] hexadecimal digits giving the value of the octet as an unsigned integer. Successive octets are separated by a hyphen. |
keyword |
destination.port |
Port of the destination. |
long |
ecs.version |
ECS version this event conforms to. |
keyword |
event.created |
|
date |
event.dataset |
Event dataset |
constant_keyword |
event.ingested |
Timestamp when an event arrived in the central data store. This is different from |
date |
event.module |
Event module |
constant_keyword |
event.outcome |
This is one of four ECS Categorization Fields, and indicates the lowest level in the ECS category hierarchy. |
keyword |
host.architecture |
Operating system architecture. |
keyword |
host.containerized |
If the host is a container. |
boolean |
host.domain |
Name of the domain of which the host is a member. For example, on Windows this could be the host’s Active Directory domain or NetBIOS domain name. For Linux this could be the domain of the host’s LDAP provider. |
keyword |
host.hostname |
Hostname of the host. It normally contains what the |
keyword |
host.id |
Unique host id. As hostname is not always unique, use values that are meaningful in your environment. Example: The current usage of |
keyword |
host.ip |
Host ip addresses. |
ip |
host.mac |
Host mac addresses. |
keyword |
host.name |
Name of the host. It can contain what |
keyword |
host.os.build |
OS build information. |
keyword |
host.os.codename |
OS codename, if any. |
keyword |
host.os.family |
OS family (such as redhat, debian, freebsd, windows). |
keyword |
host.os.kernel |
Operating system kernel version as a raw string. |
keyword |
host.os.name |
Operating system name, without the version. |
keyword |
host.os.name.text |
Multi-field of |
text |
host.os.platform |
Operating system platform (such centos, ubuntu, windows). |
keyword |
host.os.version |
Operating system version as a raw string. |
keyword |
host.type |
Type of host. For Cloud providers this can be the machine type like |
keyword |
hostname |
Hostname from syslog header. |
keyword |
input.type |
Input type |
keyword |
iptables.ether_type |
Value of the ethernet type field identifying the network layer protocol. |
long |
iptables.flow_label |
IPv6 flow label. |
integer |
iptables.fragment_flags |
IP fragment flags. A combination of CE, DF and MF. |
keyword |
iptables.fragment_offset |
Offset of the current IP fragment. |
long |
iptables.icmp.code |
ICMP code. |
long |
iptables.icmp.id |
ICMP ID. |
long |
iptables.icmp.parameter |
ICMP parameter. |
long |
iptables.icmp.redirect |
ICMP redirect address. |
ip |
iptables.icmp.seq |
ICMP sequence number. |
long |
iptables.icmp.type |
ICMP type. |
long |
iptables.id |
Packet identifier. |
long |
iptables.incomplete_bytes |
Number of incomplete bytes. |
long |
iptables.input_device |
Device that received the packet. |
keyword |
iptables.length |
Packet length. |
long |
iptables.output_device |
Device that output the packet. |
keyword |
iptables.precedence_bits |
IP precedence bits. |
short |
iptables.tcp.ack |
TCP Acknowledgment number. |
long |
iptables.tcp.flags |
TCP flags. |
keyword |
iptables.tcp.reserved_bits |
TCP reserved bits. |
short |
iptables.tcp.seq |
TCP sequence number. |
long |
iptables.tcp.window |
Advertised TCP window size. |
long |
iptables.tos |
IP Type of Service field. |
long |
iptables.ttl |
Time To Live field. |
integer |
iptables.ubiquiti.input_zone |
Input zone. |
keyword |
iptables.ubiquiti.output_zone |
Output zone. |
keyword |
iptables.ubiquiti.rule_number |
The rule number within the rule set. |
keyword |
iptables.ubiquiti.rule_set |
The rule set name. |
keyword |
iptables.udp.length |
Length of the UDP header and payload. |
long |
journald.host.boot_id |
The kernel boot ID for the boot the message was generated in, formatted as a 128-bit hexadecimal string. |
keyword |
log.file.path |
Full path to the log file this event came from, including the file name. It should include the drive letter, when appropriate. If the event wasn’t read from a log file, do not populate this field. |
keyword |
log.offset |
Log offset |
long |
log.source.address |
Source address of the syslog message. |
keyword |
log.syslog.appname |
The device or application that originated the Syslog message, if available. |
keyword |
log.syslog.facility.code |
The Syslog numeric facility of the log event, if available. According to RFCs 5424 and 3164, this value should be an integer between 0 and 23. |
long |
log.syslog.priority |
Syslog numeric priority of the event, if available. According to RFCs 5424 and 3164, the priority is 8 * facility + severity. This number is therefore expected to contain a value between 0 and 191. |
long |
log.syslog.procid |
The process name or ID that originated the Syslog message, if available. |
keyword |
message |
For log events the message field contains the log message, optimized for viewing in a log viewer. For structured logs without an original message field, other fields can be concatenated to form a human-readable summary of the event. If multiple messages exist, they can be combined into one message. |
match_only_text |
network.community_id |
A hash of source and destination IPs and ports, as well as the protocol used in a communication. This is a tool-agnostic standard to identify flows. Learn more at https://github.com/corelight/community-id-spec. |
keyword |
network.forwarded_ip |
Host IP address when the source IP address is the proxy. |
ip |
network.iana_number |
IANA Protocol Number (https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). Standardized list of protocols. This aligns well with NetFlow and sFlow related logs which use the IANA Protocol Number. |
keyword |
network.transport |
Same as network.iana_number, but instead using the Keyword name of the transport layer (udp, tcp, ipv6-icmp, etc.) The field value must be normalized to lowercase for querying. |
keyword |
network.type |
In the OSI Model this would be the Network Layer. ipv4, ipv6, ipsec, pim, etc The field value must be normalized to lowercase for querying. |
keyword |
observer.egress.zone |
Network zone of outbound traffic as reported by the observer to categorize the destination area of egress traffic, e.g. Internal, External, DMZ, HR, Legal, etc. |
keyword |
observer.ingress.zone |
Network zone of incoming traffic as reported by the observer to categorize the source area of ingress traffic. e.g. internal, External, DMZ, HR, Legal, etc. |
keyword |
observer.name |
Custom name of the observer. This is a name that can be given to an observer. This can be helpful for example if multiple firewalls of the same model are used in an organization. If no custom name is needed, the field can be left empty. |
keyword |
process.program |
Process from syslog header. |
keyword |
related.hosts |
All hostnames or other host identifiers seen on your event. Example identifiers include FQDNs, domain names, workstation names, or aliases. |
keyword |
related.ip |
All of the IPs seen on your event. |
ip |
rule.id |
A rule ID that is unique within the scope of an agent, observer, or other entity using the rule for detection of this event. |
keyword |
rule.name |
The name of the rule or signature generating the event. |
keyword |
source.as.number |
Unique number allocated to the autonomous system. The autonomous system number (ASN) uniquely identifies each network on the Internet. |
long |
source.as.organization.name |
Organization name. |
keyword |
source.as.organization.name.text |
Multi-field of |
match_only_text |
source.geo.city_name |
City name. |
keyword |
source.geo.continent_name |
Name of the continent. |
keyword |
source.geo.country_iso_code |
Country ISO code. |
keyword |
source.geo.country_name |
Country name. |
keyword |
source.geo.location |
Longitude and latitude. |
geo_point |
source.geo.region_iso_code |
Region ISO code. |
keyword |
source.geo.region_name |
Region name. |
keyword |
source.ip |
IP address of the source (IPv4 or IPv6). |
ip |
source.mac |
MAC address of the source. The notation format from RFC 7042 is suggested: Each octet (that is, 8-bit byte) is represented by two [uppercase] hexadecimal digits giving the value of the octet as an unsigned integer. Successive octets are separated by a hyphen. |
keyword |
source.port |
Port of the source. |
long |
systemd.transport |
How the entry was received by the journal service. |
keyword |
tags |
List of keywords used to tag each event. |
keyword |
Changelog
editChangelog
Version | Details | Kibana version(s) |
---|---|---|
1.17.0 |
Enhancement (View pull request) |
8.7.1 or higher |
1.16.2 |
Bug fix (View pull request) |
8.7.1 or higher |
1.16.1 |
Bug fix (View pull request) |
8.7.1 or higher |
1.16.0 |
Enhancement (View pull request) |
8.7.1 or higher |
1.15.2 |
Enhancement (View pull request) |
8.7.1 or higher |
1.15.1 |
Bug fix (View pull request) |
8.7.1 or higher |
1.15.0 |
Enhancement (View pull request) |
8.7.1 or higher |
1.14.0 |
Enhancement (View pull request) |
8.7.1 or higher |
1.13.0 |
Enhancement (View pull request) |
8.7.1 or higher |
1.12.0 |
Enhancement (View pull request) |
8.7.1 or higher |
1.11.0 |
Enhancement (View pull request) |
8.7.1 or higher |
1.10.0 |
Enhancement (View pull request) |
8.7.1 or higher |
1.9.0 |
Enhancement (View pull request) |
8.7.0 or higher |
1.8.0 |
Enhancement (View pull request) |
8.7.0 or higher |
1.7.0 |
Enhancement (View pull request) |
8.7.0 or higher |
1.6.0 |
Bug fix (View pull request) |
8.7.0 or higher |
1.5.0 |
Enhancement (View pull request) |
8.1.0 or higher |
1.4.0 |
Enhancement (View pull request) |
8.1.0 or higher |
1.3.0 |
Enhancement (View pull request) |
8.1.0 or higher |
1.2.1 |
Enhancement (View pull request) |
8.1.0 or higher |
1.2.0 |
Enhancement (View pull request) |
8.0.0 or higher |
1.1.0 |
Enhancement (View pull request) |
8.0.0 or higher |
1.0.2 |
Enhancement (View pull request) |
8.0.0 or higher |
1.0.1 |
Enhancement (View pull request) |
8.0.0 or higher |
1.0.0 |
Enhancement (View pull request) |
8.0.0 or higher |
0.12.0 |
Enhancement (View pull request) |
— |
0.11.1 |
Enhancement (View pull request) |
— |
0.11.0 |
Enhancement (View pull request) |
— |
0.10.1 |
Bug fix (View pull request) |
— |
0.10.0 |
Enhancement (View pull request) |
— |
0.9.0 |
Enhancement (View pull request) |
— |
0.8.1 |
Enhancement (View pull request) |
— |
0.8.0 |
Enhancement (View pull request) |
— |
0.7.0 |
Enhancement (View pull request) Breaking change (View pull request) |
— |
0.6.2 |
Bug fix (View pull request) |
— |
0.6.1 |
Bug fix (View pull request) |
— |
0.6.0 |
Enhancement (View pull request) |
— |
0.5.3 |
Enhancement (View pull request) |
— |
0.5.2 |
Enhancement (View pull request) |
— |
0.5.1 |
Bug fix (View pull request) |
— |
0.5.0 |
Enhancement (View pull request) |
— |
0.4.2 |
Enhancement (View pull request) |
— |
0.4.1 |
Enhancement (View pull request) |
— |
0.4.0 |
Enhancement (View pull request) |
— |
0.3.0 |
Enhancement (View pull request) |
— |
0.2.1-next |
Enhancement (View pull request) |
— |
0.2.0 |
Enhancement (View pull request) |
— |
0.1.0 |
Enhancement (View pull request) |
— |
0.0.4 |
Enhancement (View pull request) |
— |
0.0.3 |
Enhancement (View pull request) |
— |
0.0.1 |
Enhancement (View pull request) |
— |
On this page