Splunk Search

Splunk.intersplunk: Receiving error "could not locate the time (_time) field..."

santosm
New Member

How come I can't locate the time (_time) field on some results returned from the external search command?

Hi,

I use Splunk.Intersplunk library to do my search command, but sometimes output receives the error:
"could not locate the time (_time) field on some results returned from the external search command".

Does anyone know why this is happening?

0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

Hello @santosm,

Recently I came across this issue and I found out that if you use your command as streaming command you need to return _time field. So you can get this field from results streamed to the command and returned with other fields.

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...