MISP and Elastic Security threat intel integration

Ingest MISP events and attributes into Elastic Security with the Elastic Agent MISP integration, with decay-aware IOC expiry and match rules that use only current indices.

On this page

How MISP feeds Elastic Security through Elastic Agent

A security team that already runs MISP for sharing usually wants the same indicators available for matching inside Elastic Security. The supported route is the Elastic Agent MISP integration, which polls the MISP REST API and writes intelligence into Elastic threat intelligence data streams. The MISP tools page states that this integration ingests MISP intelligence through Elastic Agent and replaces the former standalone Filebeat module, so any existing Filebeat-based MISP feed should be scheduled for retirement rather than run alongside the new integration. Teams should not build a custom script against the API when this path already covers their need.

The integration writes to two data streams. ti_misp.threat holds events and their attributes at the event level, while ti_misp.threat_attributes holds the individual indicators returned from the /attributes/restSearch endpoint, including the decay_score and decayed fields that later drive expiration. The MISP account the agent uses needs API access scoped to the events and attributes it should see, so the security team should agree with the MISP administrator which distribution levels and tags the feed may read before the first poll. Filtering at the source is cheaper than filtering inside Elastic later, and it keeps out-of-scope indicators from ever reaching the detection layer.

Before committing to a design, confirm with the Elastic documentation which agent version, deployment mode and subscription level your environment needs, and check the polling interval and result limits against the size of your MISP instance. Plan the API key handling as well, because the key is stored in the agent policy. Document who owns the MISP account, how the key is rotated, and what happens to ingestion when the key expires.

What you need before connecting MISP to Elastic Security

The MISP integration in Elastic Security depends on four things being in place before the first poll: a MISP API key with the right visibility, an Elastic and Elastic Agent pairing that supports the integration, a verified network path with trusted TLS, and the subscription level for the expiration fail-safe. Confirm each one with the vendor documentation before you schedule the rollout.

MISP instance and API key

The agent authenticates to MISP's REST API with a key tied to a user account, so that user's role and organization visibility decide which events and attributes Elastic can read. Create a dedicated automation user with read access only, and check that its sharing groups include the distributions you intend to ingest. Confirm which MISP version your instance runs, since the project recommends MISP 2.5 for new deployments and MISP 2.4 is end of life. Store the key in your secrets manager, not in a shared configuration file.

MISP download page

Elastic and Elastic Agent versions

The MISP integration is delivered as an Elastic Agent package, and the MISP tools page confirms it replaces the former standalone Filebeat module. Check the integration's current minimum Elastic Stack and Elastic Agent versions in the Elastic documentation before you pick a target, and plan the upgrade path if you still run Filebeat-based threat intel ingestion. Record which data streams you enable, because the threat and threat attributes streams behave differently for indicator matching.

Elastic MISP docs

Network path and TLS trust

The Elastic Agent must reach the MISP HTTPS endpoint from the host or fleet policy that runs the integration. Confirm firewall rules, proxy behavior and DNS resolution from that exact network segment, not from your workstation. If MISP uses an internal certificate authority, add that CA to the agent's trust store and verify the chain before you enable polling, because a failed TLS handshake often looks like an empty data stream.

Subscription level for the fail-safe

The IOC expiration duration fail-safe, which defaults to 90 days, is available at the Basic subscription level according to Elastic. Confirm with Elastic which subscription your deployment holds and whether that tier covers every feature you plan to use, including indicator match rules in Elastic Security. Ask your Elastic account team to confirm this in writing if your procurement or compliance review depends on it.

Decay and expiry settings

MISP attributes carry decay information, and Elastic marks an attribute as decayed when at least 50% of MISP's decay models consider it decayed. Decide before rollout which decay models your MISP instance applies, because they determine how quickly indicators expire in Elastic. Plan to write indicator match rules against the latest indices alias only, so expired IOCs do not generate false positives.

Version and config sign-off

Before you change anything, write down the exact MISP version, Elastic Stack version, Elastic Agent version and integration package version, then compare them with the vendor documentation for your release. Set a polling interval, confirm the data stream names in your environment and record a test query against a known indicator. Keeping this record makes later troubleshooting and upgrades far less costly.

MISP tools page

How to configure the MISP integration step by step

This sequence takes you from a scoped MISP API key to indicator match rules that read only the latest indices, with a check at each stage so you know the feed is flowing and expiring correctly.

  1. Create a scoped MISP API key

    A MISP administrator creates a dedicated user for Elastic with the least role that can read the events and attributes you intend to ingest, then generates an API key for that user. Record the key in your secrets store, not in a shared runbook. Confirm the key works by calling the attributes search endpoint from a host on the Elastic Agent network and checking that it returns attributes rather than an authentication error. Check the user's sharing group and distribution visibility so you know exactly which intelligence Elastic will see.

  2. Add the MISP integration policy in Elastic Agent

    In Kibana, open the Elastic integrations catalog, select the MISP integration, and add it as an integration policy to the agent policy that runs on the host that will poll MISP. Use an agent policy that is enrolled and healthy before you add the integration. Confirm the policy shows as applied on the agent, with no configuration errors in the agent logs for the integration.

  3. Set the URL, key, polling interval and filters

    Enter the MISP base URL, the API key from the first step, and the polling interval. Set the event and attribute filters so only the tags, types, categories or published states you need are pulled, and keep TLS verification on with your internal certificate authority if MISP uses one. Save the policy and confirm the agent picks up the new configuration without a restart error. Document the filter values, since they define what your indicator matches can ever hit.

  4. Confirm both data streams receive documents

    In Discover or the index management view, check that the threat data stream (ti_misp.threat) and the threat attributes data stream (ti_misp.threat_attributes) both contain documents after the first poll. The attributes stream should include decay_score and decayed fields. If the events stream fills but attributes stay empty, review the attributes search filters and the API key's visibility. Record the document counts so you can compare them with the number of matching attributes in MISP.

  5. Verify decayed flags and decay scores

    Filter the threat attributes stream on the decayed flag and sample documents to confirm the decay_score values look plausible for your MISP decay models. Elastic marks an attribute as decayed when at least 50% of MISP's decay models consider it decayed, so spot-check a few attributes against their decay behavior in MISP. Confirm that expired indicators carry decayed set to true before you write any rule that depends on them.

  6. Confirm the IOC expiration fail-safe

    Review the IOC expiration duration setting in the integration, which defaults to 90 days and is available at the Basic subscription level. Decide whether the default fits your retention needs for indicators, and record the value you chose. Verify the setting in the policy and check that stale indicators drop out of the latest indices in a test window, so you know the fail-safe behaves as your team expects.

  7. Build indicator match rules against the latest alias

    In Elastic Security, create indicator match rules that reference the latest destination indices or alias for the MISP threat data, not the full historical indices, to avoid false positives from expired IOCs. Run each rule in a preview or test mode against a known benign sample and a known test indicator from MISP. Confirm that the rule matches the test indicator, does not match an expired one, and that alerts show the correct threat fields before you enable it for production.

How indicators move from MISP into Elastic Security

The flow starts with the MISP REST API, which the Elastic Agent MISP integration polls for events and attributes. The agent writes them into two data streams, ti_misp.threat for events and attributes and ti_misp.threat_attributes for attribute-level records with decay fields. Indicator match rules should point at the latest-indices alias rather than every historical index, so expired indicators do not keep raising alerts. The trust boundary between the MISP network and the Elastic cluster marks where API credentials and polling traffic cross, which is the first thing to review.

Indicator flow from the MISP API through Elastic data streams to alerts, with the network trust boundary.

How MISP attributes and events map to Elastic threat fields

This table compares the two Elastic MISP data streams and the fields that drive indicator expiry, showing which MISP object feeds each one. Read it before you write indicator match rules, because the decayed flag and decay score decide which indicators are still safe to alert on. Confirm every field name against the integration's current field reference before you build on it.

Field or settingWhere it comes from in MISPWhat to do with it
ti_misp.threatMISP events and their attributesUse for event-level context such as event metadata, tags and source organization when reviewing matches.
ti_misp.threat_attributesAttributes returned by /attributes/restSearchUse for the indicator values that match rules compare against network, file and domain observables.
decay_scoreDecay scores that MISP computes for each attribute across its decay modelsRead it to see how many models consider the indicator expired, rather than relying on a single timestamp.
decayedSet to true when at least 50% of MISP's decay models consider the attribute decayedExclude decayed attributes from alerting rules or limit rules to the latest indices or alias.
Attribute type filterThe type field on each MISP attribute, such as IP addresses, domains, hashes or URLsSelect only the types your sensors can match. Broad types such as free text add noise without detection value.
Tag and distribution filterTags and distribution level on events and attributesLimit ingestion to tags and sharing levels your team is allowed to act on, and confirm the filter syntax in the integration settings.
Field name checkThe integration's current field referenceConfirm each field name in the version you deploy, since mappings can change between integration releases.

Why decay-aware expiry prevents false positives

Decay-aware expiry is the control that keeps old indicators from firing alerts long after their intelligence value has lapsed. In Elastic's MISP integration, an attribute is marked decayed when at least 50% of MISP's decay models consider it decayed, and the result appears in the ti_misp.threat_attributes data stream as decay_score and a decayed flag. The practical rule is that indicator match rules should query only the latest destination indices or alias, not the full historical set. Elastic advises this specifically to avoid false positives from expired IOCs. Before writing any rule, confirm in your own environment which decay models your MISP instance applies to each attribute type, because the decayed flag is only as current as those models are.

The IOC expiration duration fail-safe is a second, independent limit. It defaults to 90 days and is available at the Basic subscription level, so it applies even when an attribute has no decay signal or the decay models have not yet marked it. Decay governs whether an indicator is still considered valid, while the fail-safe governs how long a record remains in the indicator store at all. The two can disagree, and the team must decide which one drives alerting. A reasonable starting question is whether a 90-day default matches the lifespan of the indicator types you hunt for, such as hashes that rarely recur versus infrastructure that rotates quickly. Confirm the default and the subscription requirement against Elastic's current documentation before you rely on either.

The retention decisions fall to the detection and threat intelligence owners, and they should be written down before go-live. Decide how long expired indicators stay searchable for investigations, who may query the full history, and whether stale indicators are removed or only excluded from the latest alias. Decide also who reviews match rules when a high-volume indicator class is retired, and how a sighting of an expired indicator is handled: an alert on an old IOC is a prompt to check the source, not an automatic finding. Test these rules against a set of known expired attributes from your MISP instance, and record the outcome so auditors and analysts can see why a given indicator did or did not fire.

Securing the MISP API key and the Elastic pipeline

The Elastic MISP integration authenticates to MISP with an API key and copies indicators into a shared analytics store. Each card covers one control that keeps that key narrow, that data encrypted in transit, and that intelligence marked for sharing from reaching a wider audience than the source allows.

Scope the key to read-only access

Create a dedicated MISP user for the Elastic integration with a role that can read but not publish, edit or delete events. The key should be tied to that user, not to an administrator account. Confirm that the role cannot modify sharing groups, feeds or synchronization settings, because a compromised agent should not be able to alter the intelligence it reads.

MISP features

Limit sharing groups and distribution

Decide which sharing groups and distribution levels the SOC is allowed to see, then configure the integration user to match. Events outside that set should be invisible to the key, so the pipeline never ingests material the organization is not entitled to hold. Review the scope whenever a new community or sharing group is joined, since a broad default can silently widen what reaches Elastic.

Rotate keys on a schedule

Set a rotation schedule for the MISP API key and record the owner, the storage location and the systems that depend on it. Rotation should be rehearsed in a test environment first, because the Elastic Agent policy must be updated with the new key before the old one is revoked. Confirm how MISP handles key expiry and whether revoked keys stop working immediately in your version.

Verify TLS for the MISP connection

The integration sends the API key on every request, so the connection to MISP must use HTTPS with certificate verification enabled. Avoid disabling verification to work around a private certificate authority. Instead, add the internal CA to the Elastic Agent trust store and test the handshake from the agent host, not from an administrator workstation.

Restrict who can edit the policy

The Elastic Agent policy holds the MISP URL, the API key and the polling settings, so editing it is effectively editing the data source. Limit Fleet and integration policy changes to a named group, require change records for updates to the key or the polling interval, and review audit logs for policy edits. Separate the people who run the pipeline from those who write detection rules where possible.

Carry distribution and TLP into Elastic

MISP distribution levels and TLP tags describe who may receive an indicator, and those markings can be lost once data lands in a shared index. Decide whether these fields are kept on each document, who may query them, and which dashboards or rules may expose attributes marked for restricted sharing. Document the decision so analysts do not repeat intelligence outside its permitted audience.

Questions buyers ask before connecting MISP to Elastic Security

What drives the cost of building the MISP to Elastic Security integration in-house?

The cost is mostly staff time, and it depends on how much of the design your team already owns. Your team pays for the MISP side (a tagged feed or filtered export for the events you want), the Elastic Agent policy with the MISP integration, the decision about which indicator types and distribution levels to ingest, and the indicator match rules that consume the data. Ongoing costs recur through rule tuning, watching for sync or polling failures, and handling the Elastic subscription level you run. Ask any partner quote to break out design, configuration, rule content, testing against known-good and known-bad indicators, and handover, so you can compare it line by line with your own estimate.

How long before the first MISP indicators produce matches in Elastic?

The first matches depend on the sequence of steps, not on a single setting. Elastic's MISP integration pulls indicators from MISP's REST API into the ti_misp.threat and ti_misp.threat_attributes data streams, so you need a working API key and a reachable MISP instance before any data arrives. After ingestion, you still need indicator match rules that point at the latest indices or alias, and you need to confirm that the events you expect are published and within the distribution scope the integration can read. No duration is fixed by the vendor, so ask any partner to give a timeline tied to your MISP event volume, your change windows and your test plan, and to name the milestone that marks first verified matches.

What does the work need from our MISP and Elastic administrators?

The work needs named access and decisions from both sides. On the MISP side, an administrator must create or scope an API key for the integration, confirm which tags, distribution levels and attribute types may leave the instance, and agree how sightings or feedback are handled. On the Elastic side, an administrator must allow Elastic Agent to enroll, add the MISP integration to a policy, and decide who may edit the match rules and which index or alias they use. Both teams should agree on the IOC expiration duration fail-safe, which defaults to 90 days in Elastic's MISP integration, and on who reviews false positives. Ask your partner to list these approvals in the statement of work so they are scheduled before build starts.

Can a small security team set up MISP and Elastic on its own?

A small team can usually do the core configuration alone if it already runs MISP and Elastic Security and has one person comfortable with each platform. The difficult parts are the data decisions, not the clicks: deciding which events and attributes should reach detection, handling decay so expired indicators do not trigger alerts, and testing match rules without flooding analysts. Elastic advises using only the latest destination indices or alias for indicator match rules to avoid false positives from expired IOCs, and the decayed flag and decay_score in the threat_attributes stream give you the inputs to make that choice. If one person holds both platforms, plan for cover during reviews and upgrades, or ask a partner to take the build and hand over a runbook.

Does the Elastic subscription level change what the integration can do?

Yes, at least for the IOC expiration fail-safe. Elastic's MISP integration offers the IOC expiration duration fail-safe, which defaults to 90 days, and this capability is available at the Basic subscription level. Before you commit to a design, confirm with Elastic which features your current subscription includes, including the match rule types and alerting you plan to use, because the integration itself does not replace those licensing checks. If your subscription changes during the project, re-test the expiration behavior. Ask any quote to state which subscription level it assumes and whether licensing is included or billed separately.

What should we check in a quote before agreeing to the scope?

Check that the quote is tied to a written scope, because DeployOpen works on fixed-scope engagements with scope, deliverables and timelines agreed in writing before work starts. Look for the MISP event selection rules, the Elastic policy and data stream configuration, the decay and expiration decisions, the list of match rules, the test plan with sample indicators, and the handover. Confirm who owns the API key, who approves changes to filters, and whether ongoing support or retesting is priced separately as a retainer. Any figure in the quote should show its assumptions, including the MISP and Elastic versions in scope. DeployOpen does not publish a price list, so the quote is the only place to compare costs.

What goes wrong most often with MISP indicators in Elastic?

The most common failure is alerting on expired indicators. An attribute is marked decayed when at least 50% of MISP's decay models consider it decayed, so a rule that reads every indicator in every index can fire on stale data. The second common problem is scope drift: a new tag or distribution change in MISP pulls more or fewer indicators than the rules expect. The third is polling settings that do not match how often your MISP events change. Prevent these by building match rules on the latest indices or alias, reviewing decayed and decay_score fields during testing, and recording every filter change. Your team should also watch for ingestion gaps after API key rotation or upgrades.

Failures that stop indicators reaching Elastic Security

This table lists the failures that most often keep MISP indicators out of Elastic Security or let expired ones fire alerts, with the cause and fix for each. Work through the rows in order when a data stream is empty, because the first two causes are the most common and the cheapest to check.

FailureCauseFix
Empty data streamsThe MISP API key is wrong, lacks read access to the events you expect, or the integration filters exclude every eventCreate a dedicated key with read access, confirm the key works against the restSearch endpoint, then widen the tag and distribution filters step by step
TLS errors on pollingThe MISP certificate chains to an internal certificate authority that the Elastic Agent host does not trust, or the hostname does not match the certificateInstall the CA certificate on the agent host, use the MISP hostname in the URL, and verify the chain before changing verification settings
Expired IOCs firing alertsIndicator match rules query all indices, including historical threat indices that still hold decayed attributesPoint rules at the latest-indices alias only, as Elastic advises, and review rules that were copied from older examples
Polling gaps on large instancesThe polling interval or page size is too slow to keep up with event volume, so new attributes arrive late or are skipped during long runsReview the polling interval and request size against your event volume, watch agent logs for timeouts, and confirm the last-seen values advance after each run
Rate limiting from MISPFrequent large restSearch requests from one key are throttled or slow the MISP server, which causes failed or partial pullsReduce request frequency, narrow the query to needed attributes, and ask your MISP administrator about any limits set on the instance or proxy
Missing decay fieldsThe MISP decay models are not enabled for the attribute types you pull, or the data stream is read with an index template that omits decay_score and decayedConfirm decay models are active in MISP, check the threat_attributes mapping for decay_score and decayed, and re-check fields after any template change
Duplicate or stale indicatorsTwo integration policies write to overlapping streams, or the agent restarted without persisting its stateRun one policy per MISP instance and filter, and confirm the agent keeps its state across restarts

How to test the integration before turning on alerting

Before any indicator match rule can page an analyst, the ingestion path must be proven against MISP itself. Start by comparing counts: the number of events and attributes that the Elastic Agent MISP integration writes to the ti_misp.threat and ti_misp.threat_attributes data streams should match what MISP returns for the same filters, such as the tags, distribution levels and attribute types in your polling scope. Record the comparison for a fixed time window and repeat it after a polling cycle, so you can tell a missing filter from a timing gap. Confirm the polling interval and filter settings with the integration configuration you agreed in scope, and write down the MISP instance, API key owner and time window used, so the result can be reproduced during handover.

Next, test decay handling with known expired indicators. Pick a small set of attributes that your MISP decay models should consider expired, and check that the decayed flag and decay_score fields in ti_misp.threat_attributes agree with what MISP shows for them. Elastic marks an attribute as decayed when at least 50% of MISP's decay models consider it decayed, so an attribute that one model expires but others keep active should be recorded as a deliberate edge case, not a defect. Then run an indicator match rule against a controlled test event that contains one current indicator and one expired indicator, and confirm that only the current one raises an alert. Ask your DeployOpen contact to document these test cases as part of the written scope.

Finally, confirm that alerts fire only from the latest alias. Check that each indicator match rule points at the latest destination indices or alias that Elastic recommends, not at a concrete backing index, and that the rule does not match on indicators older than the IOC expiration duration fail-safe you configured (the default is 90 days, and this feature requires the Basic subscription level). Inject a test document whose indicator exists only in a superseded index and verify that no alert is generated. Keep this test in the regression set so that an index rollover or a rule edit that reintroduces expired IOCs is caught before it reaches the SOC.

How DeployOpen scopes and delivers the MISP to Elastic integration

DeployOpen plans, builds and documents the connection between your MISP instance and Elastic Security inside your own infrastructure. The work starts with a written scope that fixes which events, attributes and detection rules are in play, so the pipeline can be tested before analysts depend on it.

How we scope

  • Confirm the MISP version, deployment location and API access model before any Elastic configuration starts.
  • Agree which events, tags and attribute types feed the threat and threat_attributes data streams.
  • Define decay score handling, the IOC expiration fail-safe and which indicator match rules will use the latest-indices alias.

How we build

  • Configure the Elastic Agent MISP integration with API key handling, polling intervals and filters agreed in the scope.
  • Test decayed and non-decayed indicators against sample events to confirm expiration behaves as the rules expect.
  • Verify indicator match rules query only the latest destination indices, and record false positive checks before go-live.

How we hand over

  • Deliver configuration documentation covering data streams, filters, polling settings, alias usage and rule ownership.
  • Provide a runbook for rotating the MISP API key, changing filters and troubleshooting missing or stale indicators.
  • Walk your security operations and MISP administrators through the pipeline and the agreed acceptance tests.

How we support

  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades and re-testing after MISP or Elastic version changes are available as a retainer.
  • Ask any quote to name the Elastic subscription level required for the fail-safe setting and who maintains the MISP side.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.