> ## Documentation Index
> Fetch the complete documentation index at: https://docs-xcor.paloaltonetworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Mock Data source plugin

> Configure the Mock Data source plugin in Palo Alto Networks Telemetry Pipeline to ingest logs for processing and routing.

> [!NOTE]
>
> This information is for Palo Alto Networks Telemetry Pipeline, which is a standalone
> product separate from Palo Alto Networks Cortex XCOR.

The Mock Data [source plugin](https://docs-xcor.paloaltonetworks.com/ingest/pipeline/plugins/source-plugins)
(name: `dummy`) lets you input user-generated data into a telemetry pipeline.

Although this is a self-contained plugin that doesn't communicate with external
sources, it's still classified as a [pull-based](https://docs-xcor.paloaltonetworks.com/ingest/pipeline/plugins/source-plugins#push-based-and-pull-based-source-plugins)
source plugin.

> [!NOTE]
>
> To use the Mock Data source plugin, you must create your own dataset and feed that
> data to the plugin. If you'd prefer to have Palo Alto Networks Telemetry Pipeline generate
> simulated log data on your behalf, use the
> [Datagen](https://docs-xcor.paloaltonetworks.com/ingest/pipeline/plugins/source-plugins/datagen.md) plugin instead.

> [!NOTE]
>
> This plugin doesn't support duplicates of itself within the same pipeline.

## Supported telemetry types

The Mock Data source plugin for Palo Alto Networks Telemetry Pipeline supports these telemetry types:

| Logs | Metrics | Traces |
| :-: | :-: | :-: |
| | | |

## Configuration parameters

Use the parameters in this section to configure the Mock Data source plugin. The
Palo Alto Networks Telemetry Pipeline web interface uses the items in the **Name** column to
describe these parameters. [Pipeline configuration files](https://docs-xcor.paloaltonetworks.com/ingest/pipeline/v2/configure/config-files.md)
use the items in the **Key** column as YAML keys.

### Required

| Name | Key | Description | Default |
| - | - | - | - |
| **Mock Data** | `dummy` | Required. Your mock data, in JSON format. | *none* |

### Advanced

| Name | Key | Description | Default |
| - | - | - | - |
| **Rate** | `rate` | The amount of events per second to mock. | `1` |
| **Samples** | `samples` | How many times to generate events. | `0` |
| **Base Timestamp in seconds** | `start_time_sec` | A dummy base timestamp, in seconds. | `-1` |
| **Base Timestamp in nano seconds** | `start_time_nsec` | A dummy base timestamp, in nanoseconds | `-1` |
| **Enable Fixed Timestamp** | `fixed_timestamp` | If `true`, use a fixed timestamp, which lets the message pre-generate once. Accepted values: `true`, `false` | `false` |
| **Memory Buffer Limit** | `mem_buf_limit` | Sets a limit for how much buffered data the plugin can write to memory, which affects backpressure. This value must follow Fluent Bit's rules for [unit sizes](https://docs.fluentbit.io/manual/administration/configuring-fluent-bit#unit-sizes). If unspecified, no limit is enforced. For v2 pipelines, this parameter affects only pipelines with the Deployment or DaemonSet [workload](https://docs-xcor.paloaltonetworks.com/ingest/pipeline/v2/configure/kubernetes/workloads.md) type. To learn more, see the v2 [backpressure](https://docs-xcor.paloaltonetworks.com/ingest/pipeline/v2/configure/backpressure.md) guide. For v3 pipelines, this parameter is independent from the [OpenTelemetry `memory_limiter` and `batch` processors](https://docs-xcor.paloaltonetworks.com/ingest/pipeline/v3#route-data-from-fluent-bit-to-opentelemetry). | *none* |


## Related topics

- [Test plugin settings](https://docs-xcor.paloaltonetworks.com/ingest/pipeline/plugins/test-settings.md)
- [Ingest telemetry data with source plugins](https://docs-xcor.paloaltonetworks.com/ingest/pipeline/plugins/source-plugins.md)
- [Datagen source plugin](https://docs-xcor.paloaltonetworks.com/ingest/pipeline/plugins/source-plugins/datagen.md)
- [Fluentd source plugin](https://docs-xcor.paloaltonetworks.com/ingest/pipeline/plugins/source-plugins/fluentd.md)
- [Datadog Agent source plugin](https://docs-xcor.paloaltonetworks.com/ingest/pipeline/plugins/source-plugins/datadog-agent.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.