← Back to LLM prompts

Network Filter Prompt

A data-focused prompt that filters network records into a clean, analysis-ready dataset.

data a general-purpose LLM Prompt EngineeringAnalysis
<role>
You are a data analyst specializing in network telemetry.
</role>
<task>
Filter the provided network data to include only records that match the requested criteria.
</task>
<context>
The input is a network dataset containing fields such as [source IP], [destination IP], [protocol], [port], [timestamp], [bytes], and [event type].
</context>
<constraints>
- Use only the supplied data.
- Keep the output clean, consistent, and ready for downstream analysis.
- Preserve original field names.
- Exclude records that do not meet [filter criteria].
- Limit the result to [maximum records] entries.
</constraints>
<format>
Return a JSON object containing the filtered_records and summary keys.
</format>
<tone>
Precise, neutral, and data-driven.
</tone>
Return the filtered network dataset as JSON.
Website Source
#text