# Suricata integration parsing issues

**URL:** https://discuss.elastic.co/t/suricata-integration-parsing-issues/284954
**Category:** Elastic Security
**Created:** [September 23, 2021, 1:52am UTC](https://discuss.elastic.co/t/suricata-integration-parsing-issues/284954 "2021-09-23T01:52:26Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![hilt86](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hilt86/32/20308_2.png) [@hilt86](https://discuss.elastic.co/u/hilt86)
#### Post date: [September 23, 2021, 1:52am UTC](https://discuss.elastic.co/t/suricata-integration-parsing-issues/284954/1 "2021-09-23T01:52:26Z")

</div>

I'm running 7.14.1 with an Elastic agent trying to pick up eve.json files using the suricata integration. Somewhere along the line it is not able to correctly parse the events.

Here is the error I'm getting :

```auto
{\"type\":\"illegal_argument_exception\",\"reason\":\"failed to parse date field [2020_09_17] with format [strict_date_optional_time||epoch_millis]\",\"caused_by\":{\"type\":\"date_time_parse_exception\",\"reason\":\"Failed to parse with all enclosed parsers\"}}}",

```

Here is an example event :

```auto
{
  "timestamp": "2021-09-21T18:01:02.246905+0000",
  "flow_id": 1540764184003705,
  "in_iface": "bond0",
  "event_type": "alert",
  "src_ip": "10.0.0.19",
  "src_port": 50396,
  "dest_ip": "192.168.160.110",
  "dest_port": 1433,
  "proto": "TCP",
  "community_id": "1:thlTObB11NQtZZ0GY++UkQJ6hSs=",
  "alert": {
    "action": "allowed",
    "gid": 1,
    "signature_id": 2010935,
    "rev": 3,
    "signature": "ET SCAN Suspicious inbound to MSSQL port 1433",
    "category": "Potentially Bad Traffic",
    "severity": 2,
    "metadata": {
      "created_at": [
        "2010_07_30"
      ],
      "former_category": [
        "HUNTING"
      ],
      "updated_at": [
        "2018_03_27"
      ]
    },
    "rule": "alert tcp $EXTERNAL_NET any -> $HOME_NET 1433 (msg:\"ET SCAN Suspicious inbound to MSSQL port 1433\"; flow:to_server; flags:S; threshold: type limit, count 5, seconds 60, track by_src; reference:url,doc.emergingthreats.net/2010935; classtype:bad-unknown; sid:2010935; rev:3; metadata:created_at 2010_07_30, former_category HUNTING, updated_at 2018_03_27;)"
  },
  "payload_printable": "",
  "stream": 0,
  "packet": "iBVEOAABNFb+d/2MCABFAAA0LdlAAH8GYsEKAAATwKigbsTcBZkU/B1TAAAAAIACIADnIQAAAgQFtAEDAwgBAQQC",
  "packet_info": {
    "linktype": 1
  }
}

```

any ideas?

---

<div class="post-metadata">

### Author: ![legoguy1000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/legoguy1000/32/54301_2.png) [@legoguy1000](https://discuss.elastic.co/u/legoguy1000)
#### Post date: [September 23, 2021, 10:09am UTC](https://discuss.elastic.co/t/suricata-integration-parsing-issues/284954/2 "2021-09-23T10:09:57Z")

</div>

What version of the Suricata integration? Looking at the ingest pipeline it should be working.

---

<div class="post-metadata">

### Author: ![hilt86](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hilt86/32/20308_2.png) [@hilt86](https://discuss.elastic.co/u/hilt86)
#### Post date: [October 20, 2021, 7:30am UTC](https://discuss.elastic.co/t/suricata-integration-parsing-issues/284954/3 "2021-10-20T07:30:07Z")

</div>

Just upgraded to v1.2.0 and getting a different error this time :

```auto
Field [suricata.eve.alert.metadata.created_at] of type [flattened] doesn't support formats.

```

---

<div class="post-metadata">

### Author: ![hilt86](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hilt86/32/20308_2.png) [@hilt86](https://discuss.elastic.co/u/hilt86)
#### Post date: [October 27, 2021, 2:02am UTC](https://discuss.elastic.co/t/suricata-integration-parsing-issues/284954/4 "2021-10-27T02:02:07Z")

</div>

can anyone from Elastic comment please? suricata eve json is pretty standard so I'm surprised we're having issues...

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [November 24, 2021, 2:02am UTC](https://discuss.elastic.co/t/suricata-integration-parsing-issues/284954/5 "2021-11-24T02:02:12Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
