TLDR baris wanted to stream Pino logs from a Node.js app to OpenObserve. With guidance from Ashish, they implemented 'pino-elasticsearch', successfully resolving the issue.
do you see any error?
if not..please go to traces menu
and check traces …also remove `duration>1000` from query filter
you should be able to see traces
Ashish Unfortunately, there are no results
There are file system logs in traces. But I want the ones through pino
do you see any error on nodejs app side
?
No it is working
checking
Actually, I think it might be useful to be able to use it.
I tried that
but unless we add event to span..logs are not available as events
so how can I move the logs of my application to openobserve. I use Pino, there is no file
for me to be on same page with you…you want to send Pino logs to logs streams & not to traces as events
or you want to see logs as events in traces
ı want to send pino logs to logs stream
here is a document for winston logs for signoz
I want to do something similar to this
let me try with Pino for OpenObserve
can you try
thank you Ashish . Does this work with open observe?
```const pino = require('pino')
const pinoElastic = require('pino-elasticsearch')
const streamToElastic = pinoElastic({
index: 'Stream Name',
node: '
this works
is it working on self hosted version?
yes
Thank you very much. it works as I want.
Ashish :tada:
baris
Mon, 02 Oct 2023 09:22:58 UTCHello everyone, In my nodejs application, I want the information I log with pino to be moved to openobserve. I used it as below but the logs do not appear on open observe. How can I do this? ```const sdk = new NodeSDK({ // traceExporter: new opentelemetry.tracing.ConsoleSpanExporter(), traceExporter: new OTLPTraceExporter({ url: "",
headers: {
Authorization: "Basic a",
},
}),
instrumentations: [getNodeAutoInstrumentations()],
serviceName: "nodejs-javascript-service",
});```