﻿---
title: Start Packetbeat
description: Before starting Packetbeat: Follow the steps in Quick start: installation and configuration to install, configure, and set up the Packetbeat environment.Make...
url: https://docs-v3-preview.elastic.dev/elastic/beats/pull/47709/reference/packetbeat/packetbeat-starting
---

# Start Packetbeat
Before starting Packetbeat:
- Follow the steps in [Quick start: installation and configuration](https://docs-v3-preview.elastic.dev/elastic/beats/pull/47709/reference/packetbeat/packetbeat-installation-configuration) to install, configure, and set up the Packetbeat environment.
- Make sure Kibana and Elasticsearch are running.
- Make sure the user specified in `packetbeat.yml` is [authorized to publish events](https://docs-v3-preview.elastic.dev/elastic/beats/pull/47709/reference/packetbeat/privileges-to-publish-events).

To start Packetbeat, run:
<tab-set>
  <tab-item title="DEB">
    ```sh
    sudo service packetbeat start
    ```

    <note>
      If you use an `init.d` script to start Packetbeat, you can’t specify command line flags (see [Command reference](https://docs-v3-preview.elastic.dev/elastic/beats/pull/47709/reference/packetbeat/command-line-options)). To specify flags, start Packetbeat in the foreground.
    </note>
    Also see [Packetbeat and systemd](https://docs-v3-preview.elastic.dev/elastic/beats/pull/47709/reference/packetbeat/running-with-systemd).
  </tab-item>

  <tab-item title="RPM">
    ```sh
    sudo service packetbeat start
    ```

    <note>
      If you use an `init.d` script to start Packetbeat, you can’t specify command line flags (see [Command reference](https://docs-v3-preview.elastic.dev/elastic/beats/pull/47709/reference/packetbeat/command-line-options)). To specify flags, start Packetbeat in the foreground.
    </note>
    Also see [Packetbeat and systemd](https://docs-v3-preview.elastic.dev/elastic/beats/pull/47709/reference/packetbeat/running-with-systemd).
  </tab-item>

  <tab-item title="MacOS">
    ```sh
    sudo chown root packetbeat.yml 
    sudo ./packetbeat -e
    ```
  </tab-item>

  <tab-item title="Linux">
    ```sh
    sudo chown root packetbeat.yml 
    sudo ./packetbeat -e
    ```
  </tab-item>

  <tab-item title="Windows">
    ```sh
    PS C:\Program Files\packetbeat> Start-Service packetbeat
    ```
    The default location where Windows log files are stored varies:
    - `stack: ga 9.0.6` `C:\Program Files\Packetbeat-Data\logs`
    - `stack: ga 9.0` `C:\ProgramData\packetbeat\logs`
  </tab-item>
</tab-set>