Palo Alto Networks Syslog Profiles API

The SyslogProfiles API from Palo Alto Networks — 2 operation(s) for syslogprofiles.

Operations 5

GET /logging-service/logforwarding/v1/syslog-profiles Get all syslog profiles #
POST /logging-service/logforwarding/v1/syslog-profiles Create a syslog profile #
DELETE /logging-service/logforwarding/v1/syslog-profiles/{profileId} Delete syslog profile #
GET /logging-service/logforwarding/v1/syslog-profiles/{profileId} Get syslog profile #
PUT /logging-service/logforwarding/v1/syslog-profiles/{profileId} Update syslog profile #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/palo-alto-networks-syslogprofiles-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

palo-alto-networks-syslogprofiles-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact: {}
  description: 'To meet your long-term storage, reporting and monitoring, or legal and compliance needs,

    you can configure Cortex Data Lake to forward all logs or a subset of logs to a syslog

    receiver.

    '
  title: Syslog Profiles API
  version: '1.0'
servers:
- url: https://api.sase.paloaltonetworks.com
tags:
- name: SyslogProfiles
paths:
  /logging-service/logforwarding/v1/syslog-profiles:
    get:
      description: 'Retrieve information about all existing syslog profiles, including their profile IDs.

        '
      operationId: get-logging-service-logforwarding-v1-syslog-profiles
      parameters:
      - description: The status of the profiles to be returned.
        in: query
        name: status
        schema:
          items:
            $ref: '#/components/schemas/ProfileStatus'
          type: array
      - description: The maximum number of profiles to be returned.
        in: query
        name: resultSize
        schema:
          default: 100
          type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/SyslogProfileDetail'
                type: array
          description: Request successfully processed
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          description: Invalid input
        '429':
          content: {}
          description: Too many request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          description: LogForwarding Service internal error
        '503':
          content: {}
          description: LogForwarding Service is not available
      security:
      - Bearer: []
      summary: Get all syslog profiles
      tags:
      - SyslogProfiles
    post:
      description: Create a syslog profile object to send logs to a syslog server.
      operationId: post-logging-service-logforwarding-v1-syslog-profiles
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/SyslogProfile'
        description: null
        required: true
      responses:
        '201':
          content:
            '*/*':
              schema:
                example: bd69764a-af85-4a66-8fb0-7df1a4317c65
                type: string
          description: Returns profile id on successful request processing
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          description: Invalid input / failed connectivity check
        '429':
          content: {}
          description: Too many request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          description: LogForwarding Service internal error
        '503':
          content: {}
          description: LogForwarding Service is not available
      security:
      - Bearer: []
      summary: Create a syslog profile
      tags:
      - SyslogProfiles
  /logging-service/logforwarding/v1/syslog-profiles/{profileId}:
    delete:
      description: Delete the syslog profile with the specified profile ID.
      operationId: delete-logging-service-logforwarding-v1-syslog-profiles-profileid
      parameters:
      - description: 'The ID of the profile you want to delete.

          '
        in: path
        name: profileId
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Request successfully processed
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          description: Profile does not exists
        '429':
          content: {}
          description: Too many request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          description: LogForwarding Service internal error
        '503':
          content: {}
          description: LogForwarding Service is not available
      security:
      - Bearer: []
      summary: Delete syslog profile
      tags:
      - SyslogProfiles
    get:
      description: 'Retrieve the syslog profile that has the specified profile ID. The response header

        contains the etag that you need to update the syslog profile.

        '
      operationId: get-logging-service-logforwarding-v1-syslog-profiles-profileid
      parameters:
      - description: 'The ID of the profile you want to retrieve.

          '
        in: path
        name: profileId
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SyslogProfileDetail'
          description: Request successfully processed
          headers:
            etag:
              description: Tag for controlling concurrent updates
              schema:
                example: ddd24f872b8d42f10afdcedc44ae334e
                type: string
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          description: Profile ID does not exists
        '429':
          content: {}
          description: Too many request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          description: LogForwarding Service internal error
        '503':
          content: {}
          description: LogForwarding Service is not available
      security:
      - Bearer: []
      summary: Get syslog profile
      tags:
      - SyslogProfiles
    put:
      description: 'Update a syslog profile using the etag obtained from retrieving the syslog profile by

        its profile ID. You can change only the destination and logtype fields. You can not

        change the profileType.

        '
      operationId: put-logging-service-logforwarding-v1-syslog-profiles-profileid
      parameters:
      - description: 'The ID of the profile you want to update.

          '
        in: path
        name: profileId
        required: true
        schema:
          type: string
      - description: 'Tag required to update the profile.

          '
        in: header
        name: etag
        schema:
          example: ddd24f872b8d42f10afdcedc44ae334e
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SyslogProfile'
        description: New profile value
        required: true
      responses:
        '200':
          description: Request successfully processed
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          description: Invalid input
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          description: Profile does not exists
        '429':
          content: {}
          description: Too many request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          description: LogForwarding Service internal error
        '503':
          content: {}
          description: LogForwarding Service is not available
      security:
      - Bearer: []
      summary: Update syslog profile
      tags:
      - SyslogProfiles
components:
  schemas:
    LogTypes:
      description: Profile logtype object
      properties:
        allColumns:
          description: '`True` sends all log fields. `False` sends a subset of log fields.

            '
          example: false
          type: boolean
        excludedColumns:
          description: 'The specific log fields you do not want to send. Does nothing if the same field is present in `includedColumns`.

            '
          items:
            type: string
          type: array
        filter:
          description: 'The [filter query](https://docs.paloaltonetworks.com/cortex/cortex-data-lake/cortex-data-lake-getting-started/retrieve-log-records/about-queries) used to send a subset of logs.

            '
          example: log_time = '2022-09-04T01:00:01.000Z' AND vsys != ''
          type: string
        includedColumns:
          description: 'The specific log fields you want to send. Does nothing if `allColumns` is `True`.

            '
          example:
          - log_time
          - vsys
          items:
            type: string
          type: array
        logtype:
          description: 'The [log type](/cdl/logforwarding/docs/syslog_lf) that you want to send.

            '
          example: firewall.traffic
          type: string
      type: object
    ProfileStatus:
      description: Profile status
      enum:
      - pending
      - inactive
      - active
      type: string
    SyslogProfile:
      properties:
        destination:
          $ref: '#/components/schemas/SyslogDestination'
        logtypes:
          items:
            $ref: '#/components/schemas/LogTypes'
          type: array
      required:
      - destination
      - logtypes
      type: object
    SyslogDestination:
      description: 'Profile name, output, and syslog receiver information.

        '
      example: {}
      properties:
        displayName:
          description: 'Name of the profile.

            '
          type: string
        facility:
          description: '[Syslog facility value](/cdl/logforwarding/docs/syslog_lf) as per [IETF standards](https://www.rfc-editor.org/rfc/rfc5424.html).

            '
          type: string
        notification:
          description: 'An email address to receive updates about log transmission.

            '
          type: string
        outputDelimiter:
          description: 'Character that separates log fields. Based on log format.

            '
          type: string
        outputFormat:
          description: 'The format in which to send logs.

            '
          enum:
          - CSV
          - LEEF
          - CEF
          type: string
        port:
          description: 'The port on which to send logs.

            '
          maximum: 65535
          minimum: 0
          type: integer
        profileToken:
          description: 'A token used to uniquely identify your logs to a cloud-based syslog service.

            '
          type: string
        server:
          description: 'IP address or FQDN of your syslog server.

            '
          type: string
      required:
      - displayName
      - facility
      - outputDelimiter
      - outputFormat
      - port
      - server
      type: object
    ApiError:
      properties:
        errorCode:
          description: Server error code
          type: integer
        errorMessage:
          description: A message describing the error code
          type: string
      required:
      - errorMessage
      type: object
    SyslogProfileDetail:
      properties:
        destination:
          $ref: '#/components/schemas/SyslogDestination'
        logtypes:
          items:
            $ref: '#/components/schemas/LogTypes'
          type: array
        profileId:
          example: bd69764a-af85-4a66-8fb0-7df1a4317c65
          type: string
        status:
          $ref: '#/components/schemas/ProfileStatus'
      required:
      - profileId
      - destination
      - logtypes
      - status
      type: object
  securitySchemes:
    Bearer:
      scheme: bearer
      type: http