JSON path from HTTP API error

Hi All

I try to use SON path from HTTP API, I got error:

ERROR: org.graylog2.shared.buffers.processors.DecodingProcessor - Error processing message RawMessage{id=f5c10c30-daeb-11e9-96e7-0242ac110007, journalOffset=127689, codec=jsonpath, payloadSize=10038, timestamp=2019-09-19T14:44:18.675Z, remoteAddress=/10.20.11.49:9200}

com.jayway.jsonpath.PathNotFoundException: No results for path: $[‘timestamp’]
at com.jayway.jsonpath.internal.path.EvaluationContextImpl.getValue(EvaluationContextImpl.java:133) ~[graylog.jar:?]

at com.jayway.jsonpath.JsonPath.read(JsonPath.java:187) ~[graylog.jar:?]

at com.jayway.jsonpath.JsonPath.read(JsonPath.java:345) ~[graylog.jar:?]

at com.jayway.jsonpath.JsonPath.read(JsonPath.java:329) ~[graylog.jar:?]

at org.graylog2.inputs.codecs.JsonPathCodec.read(JsonPathCodec.java:76) ~[graylog.jar:?]

at org.graylog2.inputs.codecs.JsonPathCodec.decode(JsonPathCodec.java:65) ~[graylog.jar:?]

at org.graylog2.shared.buffers.processors.DecodingProcessor.processMessage(DecodingProcessor.java:150) ~[graylog.jar:?]

at org.graylog2.shared.buffers.processors.DecodingProcessor.onEvent(DecodingProcessor.java:91) [graylog.jar:?]

at org.graylog2.shared.buffers.processors.ProcessBufferProcessor.onEvent(ProcessBufferProcessor.java:74) [graylog.jar:?]

at org.graylog2.shared.buffers.processors.ProcessBufferProcessor.onEvent(ProcessBufferProcessor.java:42) [graylog.jar:?]

at com.lmax.disruptor.WorkProcessor.run(WorkProcessor.java:143) [graylog.jar:?]

at com.codahale.metrics.InstrumentedThreadFactory$InstrumentedRunnable.run(InstrumentedThreadFactory.java:66) [graylog.jar:?]

at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]

Any idea?

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