Skip to main content
Zenodo

Farm-Flow : AG-IoT Intrusion Detection Dataset [1.31M Flows, Smart Agriculture]

Smart Agriculture
52 views
2 min read
License

Abstract

"Agricultural IoT network intrusion dataset with 1.31 million labeled flow records (532 MB) emulating a real AG-IoT farm environment. Covers crop health, weather, and soil condition data with network attack scenarios. CSV via Zenodo. Used for smart farming security research."

Description

Overview

Farm-Flow is a purpose-built network intrusion detection dataset designed to emulate real-world Agricultural IoT (AG-IoT) systems. It was created to address a critical gap in IoT security research: despite rapid adoption of precision agriculture technologies, no publicly available intrusion detection dataset existed that specifically modeled the threat landscape of smart farming environments.

The dataset simulates an AG-IoT infrastructure incorporating soil condition monitoring, crop health tracking, weather stations, and irrigation control sensors — the typical deployment topology of a connected farm. Network attack traffic was generated across this simulated farm environment and processed through comprehensive cleaning and feature extraction pipelines.

The resulting dataset contains 1,310,000 labeled flow instances totaling 532 MB, and achieves an intrusion detection accuracy of 92.67% under benchmark testing. Farm-Flow is hosted on Zenodo under an open license and is available for direct download, making it freely accessible for smart agriculture cybersecurity research.

Column Schema

ColumnDescription
flow_idUnique identifier for each network flow.
src_ip / dst_ipSource and destination IP addresses.
src_port / dst_portSource and destination port numbers.
protocolTransport protocol of the flow.
flow_durationDuration of the flow in microseconds.
fwd_packets / bwd_packetsForward and backward packet counts.
flow_bytes_per_secFlow throughput in bytes per second.
soil_sensor_flagFlag indicating flow originated from a soil IoT sensor.
weather_sensor_flagFlag indicating flow from a weather monitoring endpoint.
labelBinary label: Benign or Attack.
attack_typeSpecific attack sub-category label.

Key Statistics

  • Total Records: 1,310,000 labeled flow instances
  • File Size: 532 MB (compressed)
  • IoT Environment: Simulated AG-IoT farm with soil, crop, weather, and irrigation sensors
  • Benchmark IDS Accuracy: 92.67%
  • File Format: CSV
  • Published: April 2024 on Zenodo

Use Cases

  • Intrusion detection system development for precision agriculture IoT deployments
  • Network attack classification in agricultural sensor network environments
  • Smart farming cybersecurity research and benchmarking ML/DL classifiers
  • Crop health and irrigation control system threat modeling

Source & Attribution

The Farm-Flow dataset was published on Zenodo in April 2024. It is openly accessible for download and was created to support the development of security solutions specifically tailored to Agricultural IoT ecosystems, a growing area of critical infrastructure protection research.

View Data Structure

To explore column names, data types, and sample rows, visit the official dataset page on Zenodo.

Preview on Zenodo

Cite This Dataset

Narjes Davari, Bruno Veloso (2021). Farm-Flow : AG-IoT Intrusion Detection Dataset [1.31M Flows, Smart Agriculture]. [Dataset]. UCI Machine Learning Repository. https://doi.org/10.24432/C5VW3R

Source: UCI Machine Learning Repository (2021) · DOI: 10.24432/C5VW3R

Indexed by IoTDataset.com on Apr 17, 2026

Ready to Start Your Research?

Download this dataset directly from the official repository and start building your next breakthrough project.

Download Dataset

Related Topics & Keywords

Share This Research

More in Smart Agriculture

View All
Smart Agriculture IEEE DataPort

Semantic-Aware IoT Dataset for Smart Farming

This dataset focuses on semantic data modeling for smart farming, providing environmental logs and network metrics to optimize communication efficiency in large-scale IoT networks.

Feb 13, 2026
Household Electric Power Consumption University

IDEAL Household Energy Dataset: 255 UK Homes, Electricity, Gas & Sensors [Nature Scientific Data]

Comprehensive energy dataset from 255 UK homes covering electricity, gas, room temperature, humidity, and appliance-level data for a 39-home sub-cohort. 23 months of data. CSV format. Published on Edinburgh DataShare (DOI: 10.7488/ds/2836). Described in Nature Scientific Data 2021.

May 04, 2026
Household Electric Power Consumption Zenodo

Energy Consumption Dataset for Smart Homes — 5 Appliances, Individual Smart Meters [Zenodo 2025]

Real IoT smart home energy dataset from a testbed of 5 household appliances each connected to an individual smart meter. 507 KB CSV. Published January 2025 on Zenodo. Used for appliance-level energy monitoring, household energy disaggregation, and smart meter analytics.

May 04, 2026
Household Electric Power Consumption Zenodo

CKW Smart Meter Data: 200,000+ Swiss Households, 15-Minute Resolution [2021–2024]

Anonymised smart meter electricity consumption data from the CKW Group distribution network in Lucerne Canton, Switzerland. 15-minute resolution, covering 2021–2024. Parquet and CSV formats. Published on Zenodo 2024. Used for large-scale household energy analytics and smart grid research.

May 04, 2026