Dataset Viewer
The dataset viewer is not available for this subset.
Cannot get the split names for the config 'default' of the dataset.
Exception:    SplitsNotFoundError
Message:      The split names could not be parsed from the dataset config.
Traceback:    Traceback (most recent call last):
                File "tsfile/tsfile_py_cpp.pyx", line 567, in tsfile.tsfile_py_cpp.tsfile_reader_new_c
              tsfile.exceptions.FileOpenError: 28: 
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 286, in get_dataset_config_info
                  for split_generator in builder._split_generators(
                                         ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      StreamingDownloadManager(base_path=builder.base_path, download_config=download_config)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/tsfile/tsfile.py", line 271, in _split_generators
                  scan = self._scan_metadata(all_files)
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/tsfile/tsfile.py", line 318, in _scan_metadata
                  with self._open_reader(file) as reader:
                       ~~~~~~~~~~~~~~~~~^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/tsfile/tsfile.py", line 742, in _open_reader
                  return TsFileReader(file)
                File "tsfile/tsfile_reader.pyx", line 323, in tsfile.tsfile_reader.TsFileReaderPy.__init__
              SystemError: <class '_weakrefset.WeakSet'> returned a result with an exception set
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/split_names.py", line 66, in compute_split_names_from_streaming_response
                  for split in get_dataset_split_names(
                               ~~~~~~~~~~~~~~~~~~~~~~~^
                      path=dataset,
                      ^^^^^^^^^^^^^
                      config_name=config,
                      ^^^^^^^^^^^^^^^^^^^
                      token=hf_token,
                      ^^^^^^^^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 340, in get_dataset_split_names
                  info = get_dataset_config_info(
                      path,
                  ...<6 lines>...
                      **config_kwargs,
                  )
                File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 291, in get_dataset_config_info
                  raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
              datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

CIC-IDS-2017 Canonical NetFlow Flowprep (TsFile)

This repository contains an Apache TsFile conversion of DeepTempo/cic-ids-2017-flowprep, a small CIC-IDS-2017 demonstration slice canonicalized by DeepTempo's flowprep tool into a typed NetFlow schema.

Modalities: Time-series.

Source Dataset

  • Original dataset: DeepTempo/cic-ids-2017-flowprep
  • Source artifact: data/cic-ids-2017-canonical.parquet
  • Rows: 101,094 flows
  • Columns: 13 source columns
  • Task: binary intrusion-detection / tabular classification
  • Source format: ZSTD-compressed Parquet, single row group
  • Source timestamp encoding: int64 epoch microseconds
  • Source license metadata: other, cic-ids-2017-research-use
  • License link: https://www.unb.ca/cic/datasets/ids-2017.html

The source dataset is a clean canonical NetFlow table produced by flowprep from a CIC-IDS-2017 sample. It is a demonstration slice, not the full CIC-IDS-2017 dataset. For research use, refer to the official UNB CIC dataset page and cite the original CIC-IDS-2017 paper.

Converted Data

  • TsFile path: cic_ids_2017_flowprep.tsfile
  • TsFile table: cic_ids_2017_flowprep
  • Rows: 101,094
  • Converted columns: 14 including Time and generated event_rank
  • Device/TAG groups: 1,780
  • Time precision: microseconds
  • Time range: 2017-03-07 01:00:01 UTC to 2017-07-07 12:59:00 UTC
  • Class balance: 81,171 benign / 19,923 attack

TsFile Schema

timestamp is converted to the TsFile Time column as epoch microseconds and is not retained as a duplicate FIELD.

TAG columns:

  • attack
  • label
  • event_rank

FIELD columns:

  • src_ip
  • dest_ip
  • src_port
  • dest_port
  • fwd_bytes
  • bwd_bytes
  • fwd_pkts
  • bwd_pkts
  • flow_dur
  • protocol

protocol is null for all rows in this source slice and is preserved as a nullable numeric FIELD for canonical-schema fidelity.

Conversion Notes

This is a network-flow event table. High-cardinality endpoint columns such as src_ip, dest_ip, src_port, and dest_port are kept as FIELD columns rather than TAG/device keys. The low-cardinality ground-truth columns attack and label are TAGs for efficient filtering.

event_rank is a generated TAG that preserves all concurrent flows without modifying Time. It is the duplicate order within (attack, label, Time). In this source snapshot, event_rank ranges from 0 to 1,587 and 88,916 rows have a nonzero rank. The final (attack, label, event_rank, Time) key has no duplicates.

No source rows are dropped. The source timestamp column is represented by TsFile Time; all other source columns are represented either as TAG or FIELD columns.

Minimal Read Example

Read the .tsfile file with the Apache TsFile Java or Python SDK.

Example logical filter:

SELECT *
FROM cic_ids_2017_flowprep
WHERE attack = 'attack'

Citation

If you use the data, cite the original CIC-IDS-2017 paper:

@inproceedings{sharafaldin2018toward,
  title     = {Toward Generating a New Intrusion Detection Dataset and Intrusion Traffic Characterization},
  author    = {Sharafaldin, Iman and Lashkari, Arash Habibi and Ghorbani, Ali A.},
  booktitle = {Proceedings of the 4th International Conference on Information Systems Security and Privacy (ICISSP)},
  year      = {2018}
}
Downloads last month
-