Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 Search Documentation | 2026.1

# Manage Elasticsearch

After you have installed Elasticsearch, you can manage the service.

## Start or stop Elasticsearch

You can start or stop Elasticsearch as follows:

    sudo systemctl start elasticsearch.service
    sudo systemctl stop elasticsearch.service

## Enable logging

Elasticsearch recommends using the Log4j 2 configuration that is shipped by default.

To enable logging, see Elasticsearch logging.

## View logging information in the systemd journal

When systemd logging is enabled, you can access logging information by using the journalctl commands:

- Tail the journal:

      sudo journalctl -f

- Journal entries for the Elasticsearch service:

      sudo journalctl --unit elasticsearch

- Journal entries for the Elasticsearch service from a specific start time:

      sudo journalctl --unit elasticsearch --since  "2025-09-01 09:15:00"

For more command line options, run the man journalctl or see journalctl.

Your search for returned results