{
  "format": "dataset-manifest/1",
  "slug": "smart-sentinel-logs",
  "version": 1,
  "seed": "smart-sentinel-logs:1",
  "spec": {
    "format": "dataset/1",
    "slug": "smart-sentinel-logs",
    "name": "Smart Sentinel Logs",
    "tagline": "Logs of user interactions, alarms, sensor triggers, and system alerts from smart home security systems.",
    "description": "Families utilize voice-controlled security systems to enhance protection and convenience in their homes. These advanced systems monitor household activities and respond to user commands, ensuring a secure environment. The daily operations involve logging user interactions, activating alarms, and responding to sensor triggers that signify various household events. For instance, when a door is opened or movement is detected, the system captures these occurrences and can alert homeowners through system alerts or alarms, ensuring they are always informed about their home’s status.\n\nThe dataset consists of several interconnected tables that help illustrate the dynamics of this business. Each row in the 'users' table represents a household member, detailing their interaction with the system. The 'alarms' table logs instances when alarms are triggered, providing a timely account of security events. 'sensor_triggers' captures data on events caused by motion sensors or door sensors, while 'system_alerts' contains notifications generated by the system during both routine checks and unusual activities. 'system_health_checks' tracks the performance and status of the security system itself, ensuring it operates optimally. Lastly, 'interaction_logs' documents all user commands and interactions, giving insight into how family members engage with the technology.\n\nThis dataset answers critical questions about household security and user behavior. It can be used to analyze patterns in user interactions, assess the frequency of alarms, and understand the reliability of system health. Developers can practice querying to identify trends in alarm triggers or investigate anomalies related to sensor activity. Moreover, since this data is synthetic, it provides an ideal environment to simulate real-world scenarios and test data analysis skills without compromising any real user information.",
    "domain": "iot",
    "shape": "time-series",
    "useCases": [
      "analytics-demo",
      "bi-dashboards"
    ],
    "keywords": [
      "home security",
      "iot",
      "voice control",
      "sensor logs",
      "alarm events",
      "system alerts"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "users": {
        "description": "This table contains user information for the home security system, linking to their interactions with the system.",
        "rows": 50,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each user."
          },
          "full_name": {
            "kind": "fullName",
            "description": "The full name of the user."
          },
          "email": {
            "kind": "email",
            "from": "full_name",
            "description": "Email address of the user."
          },
          "phone": {
            "kind": "phone",
            "description": "Contact phone number of the user."
          },
          "created_at": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "The date and time when the user registered.",
            "dayProfile": "waking"
          }
        }
      },
      "alarms": {
        "description": "This table logs all alarm activations and deactivations, linking back to the user who activated or disarmed the alarm.",
        "rows": 500,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each alarm event."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "Identifier for the user associated with the alarm."
          },
          "alarm_time": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "The date and time when the alarm was activated or deactivated.",
            "dayProfile": "business"
          },
          "status": {
            "kind": "enum",
            "values": [
              "activated",
              "deactivated"
            ],
            "description": "The current status of the alarm."
          }
        }
      },
      "sensor_triggers": {
        "description": "This table records events where sensors were triggered, indicating potential security breaches or normal activity.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each sensor trigger event."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "Identifier for the user associated with the sensor trigger."
          },
          "trigger_time": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "The date and time when the sensor was triggered."
          },
          "sensor_type": {
            "kind": "enum",
            "values": [
              "door",
              "window",
              "motion",
              "glass_break"
            ],
            "description": "Type of sensor that was triggered."
          }
        }
      },
      "system_alerts": {
        "description": "This table captures alerts generated by the system, such as maintenance notifications or unusual activity alerts.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each system alert."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "Identifier for the user associated with the alert."
          },
          "alert_time": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "The date and time when the alert was generated.",
            "dayProfile": "waking"
          },
          "alert_type": {
            "kind": "enum",
            "values": [
              "maintenance",
              "unauthorized_access",
              "system_health"
            ],
            "description": "Type of alert generated by the system."
          }
        }
      },
      "system_health_checks": {
        "description": "This table logs routine health checks performed by the security system, ensuring all components are functioning correctly.",
        "rows": 150,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each health check event."
          },
          "check_time": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "The date and time when the health check was performed."
          },
          "status": {
            "kind": "enum",
            "values": [
              "pass",
              "fail"
            ],
            "description": "Result of the health check."
          },
          "details": {
            "kind": "words",
            "max": 50,
            "description": "Additional details about the health check."
          }
        }
      },
      "interaction_logs": {
        "description": "This table records verbal interactions with the voice-controlled system, indicating user commands and responses.",
        "rows": 600,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each interaction log."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "Identifier for the user who interacted with the system."
          },
          "interaction_time": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "The date and time when the interaction occurred.",
            "dayProfile": "waking",
            "trend": "growing"
          },
          "command": {
            "kind": "words",
            "description": "The command given by the user."
          },
          "response": {
            "kind": "words",
            "description": "The system's response to the user's command."
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "timestamped",
      "categorical",
      "nullable",
      "high-cardinality"
    ],
    "analysisQuestions": [
      "What are the peak times for alarm activations?",
      "How often do users interact with the voice-controlled system?",
      "What types of sensor triggers are most common?",
      "How do system alerts correlate with user activity?",
      "What percentage of health checks pass or fail?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Users and Alarms",
        "sql": "SELECT u.full_name, a.alarm_time, a.status FROM users u JOIN alarms a ON u.id = a.user_id;",
        "dialect": "postgres"
      },
      {
        "title": "Count Alarm Activations by User",
        "sql": "SELECT user_id, COUNT(*) AS activation_count FROM alarms WHERE status = 'activated' GROUP BY user_id;",
        "dialect": "postgres"
      },
      {
        "title": "Sensor Trigger Frequency",
        "sql": "SELECT sensor_type, COUNT(*) AS trigger_count FROM sensor_triggers GROUP BY sensor_type;",
        "dialect": "postgres"
      },
      {
        "title": "System Alerts Over Time",
        "sql": "SELECT DATE(alert_time) AS alert_date, COUNT(*) FROM system_alerts GROUP BY alert_date;",
        "dialect": "postgres"
      },
      {
        "title": "Health Check Pass Rate",
        "sql": "SELECT status, COUNT(*) FROM system_health_checks GROUP BY status;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Developing a BI Dashboard",
        "body": "Data analysts can use the Smart Sentinel Logs dataset to create BI dashboards that visualize alarm activations, sensor triggers, and system health over time. By analyzing this data, they can identify patterns in user behavior and system performance, helping to enhance security measures."
      },
      {
        "title": "Testing Analytics Tools",
        "body": "Developers can utilize the dataset to test the capabilities of analytics tools or data visualization libraries. By exploring various queries and data manipulation techniques, they can ensure their tools effectively handle time-series data from IoT devices."
      },
      {
        "title": "Training Machine Learning Models",
        "body": "Data scientists can leverage the dataset to train machine learning models aimed at predicting security incidents or user interactions based on historical logs. The labeled data provides a rich foundation for supervised learning tasks."
      },
      {
        "title": "Conducting Security Audits",
        "body": "Security professionals can analyze the logs to conduct audits of the home security system's performance. By examining alarm activation patterns and sensor triggers, they can identify potential vulnerabilities and recommend improvements."
      }
    ]
  },
  "counts": {
    "system_health_checks": 150,
    "users": 50,
    "alarms": 500,
    "interaction_logs": 600,
    "sensor_triggers": 300,
    "system_alerts": 200
  },
  "stats": {
    "users": {
      "rows": 50,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 50,
          "min": 1,
          "max": 50
        },
        "full_name": {
          "nulls": 0,
          "distinct": 50,
          "min": "Alice Brown",
          "max": "Zara Garcia"
        },
        "email": {
          "nulls": 0,
          "distinct": 50
        },
        "phone": {
          "nulls": 0,
          "distinct": 50
        },
        "created_at": {
          "nulls": 0,
          "distinct": 50,
          "min": "2020-01-05 08:11:19",
          "max": "2023-10-27 11:14:25"
        }
      }
    },
    "alarms": {
      "rows": 500,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "user_id": {
          "nulls": 0,
          "distinct": 50,
          "min": 1,
          "max": 50
        },
        "alarm_time": {
          "nulls": 0,
          "distinct": 500,
          "min": "2023-01-01 09:08:00",
          "max": "2023-12-30 18:16:41"
        },
        "status": {
          "nulls": 0,
          "distinct": 2,
          "min": "activated",
          "max": "deactivated"
        }
      }
    },
    "sensor_triggers": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "user_id": {
          "nulls": 0,
          "distinct": 50,
          "min": 1,
          "max": 50
        },
        "trigger_time": {
          "nulls": 0,
          "distinct": 300,
          "min": "2023-01-01 05:44:12",
          "max": "2023-12-31 16:29:06"
        },
        "sensor_type": {
          "nulls": 0,
          "distinct": 4,
          "min": "door",
          "max": "window"
        }
      }
    },
    "system_alerts": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "user_id": {
          "nulls": 0,
          "distinct": 49,
          "min": 1,
          "max": 50
        },
        "alert_time": {
          "nulls": 0,
          "distinct": 200,
          "min": "2023-01-05 06:20:48",
          "max": "2023-12-28 12:42:10"
        },
        "alert_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "maintenance",
          "max": "unauthorized_access"
        }
      }
    },
    "system_health_checks": {
      "rows": 150,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 150,
          "min": 1,
          "max": 150
        },
        "check_time": {
          "nulls": 0,
          "distinct": 150,
          "min": "2023-01-07 23:42:04",
          "max": "2023-12-31 16:05:14"
        },
        "status": {
          "nulls": 0,
          "distinct": 2,
          "min": "fail",
          "max": "pass"
        },
        "details": {
          "nulls": 0,
          "distinct": 150
        }
      }
    },
    "interaction_logs": {
      "rows": 600,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 600,
          "min": 1,
          "max": 600
        },
        "user_id": {
          "nulls": 0,
          "distinct": 50,
          "min": 1,
          "max": 50
        },
        "interaction_time": {
          "nulls": 0,
          "distinct": 600,
          "min": "2023-01-01 08:21:07",
          "max": "2023-12-31 20:54:43"
        },
        "command": {
          "nulls": 0,
          "distinct": 600
        },
        "response": {
          "nulls": 0,
          "distinct": 598
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/system_health_checks.csv",
      "format": "csv",
      "table": "system_health_checks",
      "key": "datasets/smart-sentinel-logs/v1/csv/system_health_checks.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/smart-sentinel-logs/v1/csv/system_health_checks.csv",
      "bytes": 28905,
      "sha256": "c5ba4364d9038c1b21ca9212e254cb746b5add0299bca5807adb6c2d1d9973db",
      "rows": 150,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/smart-sentinel-logs/v1/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/smart-sentinel-logs/v1/csv/users.csv",
      "bytes": 3832,
      "sha256": "266d16b4268a302b7cfe73b2120b3d98f49693f31832c6c65f6668d3f27e9275",
      "rows": 50,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/alarms.csv",
      "format": "csv",
      "table": "alarms",
      "key": "datasets/smart-sentinel-logs/v1/csv/alarms.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/smart-sentinel-logs/v1/csv/alarms.csv",
      "bytes": 19374,
      "sha256": "7e842802f93d01175b8d731fadbba9fbde31af2168d3d8265b33744975371494",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/interaction_logs.csv",
      "format": "csv",
      "table": "interaction_logs",
      "key": "datasets/smart-sentinel-logs/v1/csv/interaction_logs.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/smart-sentinel-logs/v1/csv/interaction_logs.csv",
      "bytes": 48452,
      "sha256": "fc6d194533e273c97b4755ee4ed0e1bc72c76309690a0383d29e3162c1af95a1",
      "rows": 600,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/sensor_triggers.csv",
      "format": "csv",
      "table": "sensor_triggers",
      "key": "datasets/smart-sentinel-logs/v1/csv/sensor_triggers.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/smart-sentinel-logs/v1/csv/sensor_triggers.csv",
      "bytes": 10507,
      "sha256": "aa233e9d45cad8ac77ef83460a00e9cea03633c6a2be8640c76e225a65e1a9e6",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/system_alerts.csv",
      "format": "csv",
      "table": "system_alerts",
      "key": "datasets/smart-sentinel-logs/v1/csv/system_alerts.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/smart-sentinel-logs/v1/csv/system_alerts.csv",
      "bytes": 8592,
      "sha256": "214c8f061e59bd7a69def85c066ff8e7c70f7271ce1f939b1c8f90e696302ca6",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "smart-sentinel-logs.json",
      "format": "json",
      "table": null,
      "key": "datasets/smart-sentinel-logs/v1/smart-sentinel-logs.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/smart-sentinel-logs/v1/smart-sentinel-logs.json",
      "bytes": 291848,
      "sha256": "f07d914e956651d159d37252ece979a5c580aae9b1f31f25d2769b1053af1fd5",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/smart-sentinel-logs/v1/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/smart-sentinel-logs/v1/sql/postgres.sql",
      "bytes": 148815,
      "sha256": "15cf73e303b80b69392f56a450f6d3dd9279bdf363594df981f9e4ac184c581b",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/smart-sentinel-logs/v1/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/smart-sentinel-logs/v1/sql/mysql.sql",
      "bytes": 148100,
      "sha256": "6ba5996e089f35ec2936bc6a57f9614af4edd853cfb4ce7c627a3b54d559181c",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/smart-sentinel-logs/v1/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/smart-sentinel-logs/v1/sql/mssql.sql",
      "bytes": 152986,
      "sha256": "8bb92f913108652224f1de32841429970aae762cdad6d08c09a173b272102d35",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/smart-sentinel-logs/v1/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/smart-sentinel-logs/v1/sql/sqlite.sql",
      "bytes": 147832,
      "sha256": "3708639b06d371b8a4e1557cc1f12695ab7810709a98a6a54ec32befcd7b034e",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/smart-sentinel-logs/v1/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/smart-sentinel-logs/v1/prisma/seed.ts",
      "bytes": 257119,
      "sha256": "c83f34302be342054a320a1e78f01a3712e8da8b5f37436ea788f4fe2675cd76",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/smart-sentinel-logs/v1/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/smart-sentinel-logs/v1/django/fixtures.json",
      "bytes": 375051,
      "sha256": "8153935987f2d81bac0ce3c542384ce2789b5e667ecd0a65a140d28392362670",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788767902452,
  "updatedAt": 1788767902452
}
