Map custom date and time in Elasticsearch
When you configure the Elasticsearch connector, you must convert or map the custom date and time fields, such as _source_@timestamps, to startTime and endTime of Google SecOps cases.
- Go to Settings > Investigation > Ontology Status. If you are on a SOAR-only platform, go to Settings > Ontology > Ontology Status.
- Click settings Configure in the same row as the Elasticsearch connector.
- On the Event Configuration page, select Mapping.
- Under System Fields, select the StartTime row and choose Edit Field from the menu.
In the Map Target Field: StartTime dialog, set the following fields:
- Extracted: Select _source_@timestamp, which is from the ELK stack.
- Transformation Function: Select FROM_CUSTOM_DATETIME.
- Enter Parameters: Enter
YYYY-MM-DDTHH:MM:SS:zzzZ.
In the Map Target Field: EndTime dialog, set the following fields:
- Extracted Field: Select _source_@timestamp, which is from the ELK stack.
- Transformation Function: Select FROM_CUSTOM_DATETIME.
- Enter Parameters: Enter
YYYY-MM-DDTHH:MM:SS:zzzZto generalize the time format.
Click Save.
The Elasticsearch timestamp fields are now converted to the standardized time and date fields.
Need more help? Get answers from Community members and Google SecOps professionals.