Open topic with navigation

# GetLogStream

The `GetLogStream` action returns a specific log stream for the service.

Note: This is a service control action that can be sent only from ServiceControlClients (which are set in the `[Service]` section of the configuration file).

## Example

    action=GetLogStream&Name=application.log&FromDisk=True&Tail=10

This action displays the first ten entries from the application log stream.

## Parameters

The action has the following optional parameters:

Parameter | Description | Required
--- | --- | ---
FromDisk | Specifies whether to read the log stream from disk or memory. |
Name | The name of the log stream you want to return. To retrieve a list of log stream names, use the GetLogStreamNames service action. | Yes
Tail | The number of lines from the log stream to return. |

© 2014 - 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm