Juniper SRX Series Firewall (Preview)

Centralize and monitor your Juniper device logs by ingesting the relevant SRX syslog data to LogScale.

This package provides a preview parser for Juniper SRX Firewall events in JSON format.

The parser normalizes data to a common schema based on an OpenTelemetry standard. This schema allows you to search the data without knowing Juniper's data specifically, and just knowing the common schema instead. It also allows you to combine the data more easily with other data sources which conform to the same schema.

Preview Status

Note that this package is considered a PREVIEW. This means we are seeking feedback on the package, and may make breaking changes to the parser in the future.

Configurations and Sending The Logs to LogScale

See Juniper Documentation for information on how to send Juniper logs to Falcon LogScale Collector.

Installing the Juniper SRX Firewall Package in LogScale

Find the repository where you want to send the logs, or create a new one.

  1. Navigate to your repository in the LogScale interface, click Settings and then Packages on the left.

  2. Click Marketplace and install the LogScale package for Juniper SRX (i.e. juniper/srx).

  3. When the package has finished installing, click Ingest tokens on the left (still under the Settings, see Ingest Tokens).

  4. In the right panel, click + Add Token to create a new token. Give the token an appropriate name (e.g.the name of the server and the name of the server the token is ingesting logs for), and leave the parser unassigned. You can assign the parser to the LogScale Collector Configuration as described in the documentation Sources & Examples.

    Before leaving this page, view the ingest token and copy it to your clipboard — to save it temporarily elsewhere.

    Now that you have a repository set up in LogScale along with an ingest token you're ready to send logs to LogScale.

  5. Next, configure the Falcon LogScale Collector to ship the logs from your syslog server into LogScale. Follow LogScale Collector Installing the LogScale Collector and Configuring LogScale Collector. LogScale Collector documentation also provides an example of how you can configure your syslog datasource, see Sources & Examples.

  6. Enroll the LogScale Collector using the following configuration:

    sources:
      syslog_tcp_514:
        type: syslog
        mode: tcp
        port: 514
        supportsOctetCounting: false
        strict: false
        sink: logscale
    sinks:
      logscale:
        type: humio
        token: ingest_token assigned to `srx-syslog` parser
        url: Logscale URL, for example: https://cloud.community.humio.com

Verify Data is Arriving in LogScale

Once you have completed the above steps the data should be arriving in your LogScale repository.

You can verify this by doing a simple search for #Vendor = "juniper" | Product = "srx" to see the events.

Package Contents Explained

This package is only for parsing incoming data, and normalizing the data as part of that parsing. The parser normalizes the data to a subset of this schema based on OpenTelemetry standards, while still preserving the original data.

If you want to search using the original field names and values, you can access those in the fields whose names are prefixed with the word "Vendor". Fields which are not prefixed with "Vendor" are standard fields which are either based on the schema (e.g. source.ip) or on LogScale conventions (e.g. @rawstring).

The fields which the parser currently maps the data to, are chosen based on what seems the most relevant, and will potentially be expanded in the future. But the parser won't necessarily normalize every field that has potential to be normalized.

Event Categorisation

As part of the schema, events are categorized by different fields, including:

  • event.category

  • event.type

  • event.kind

  • event.outcome

event.category is an array, so needs to be searched like so:

array:contains("event.category[]", value="info")

This will find events where some event.category[n] field contains the value "info", regardless of what `n` is. Note that not all events will be categorized to this level of detail.

Normalized Fields

Here are some of the normalized fields which are being set by this parser:

  • event.* (e.g. event.type, event.kind, event.category, event.outcome)

  • client.* (e.g. client.ip, client.port)

  • source.* (e.g. source.ip, source.port)

  • destination.* (e.g. destination.ip, destination.port)

  • server.* (e.g. server.ip, server.port, server.bytes)

  • network.* (e.g. network.protocol, network.bytes, network.iana_number)

  • log.* (e.g. log.syslog.hostname, log.syslog.procid, log.syslog.msgid)

  • related.* (e.g. related.ip, related.hosts, related.user)