I don't see any option for DataType anywhere, but ...
# support
p
I don't see any option for DataType anywhere, but maybe its somewhere else i'm not looking
o
If this was an answer to my post then you can see the data type in the extracted output. If possible I would like the time_ms field to be a number so you can query by range. time_ms being a field I extraced with regex in log pipeline.
p
Oh, I thought your comment was an answer to my post 😄 . I think we're both asking the same question, how does one convert the string extracted from a log into a different data type?
o
Haha... yeah lets see if someone can let us know if this is possible.
s
@nitya-signoz is this possible?
n
It’s not possible from the UI right now cc @Raj Kamal you will have to add an attribute processor and use
convert
action to typecast https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/attributesprocessor
p
Is that possible with SigNoz Cloud? I'm not running the collector, I'm just forwarding the logs from Heroku to SigNoz Cloud. https://signoz.io/docs/userguide/heroku_logs_to_signoz/
n
Oh if you are using the cloud, for now you can send us all the attributes and the data types that you want them to convert to, we will update it :)
p
Ah, ok. Should I just open a support ticket? What information do you need?
n
Yeah you can give us the list of attributes and the corresponding data type( bool/ string/ integer/ floating point).
p
support@signoz.io? Kinda cumbersome to paste this into the chat widget on the page. 😄
s
You can use
<mailto:cloud-support@signoz.io|cloud-support@signoz.io>
or start a new intercom conv, whichever is easier for you.
p
thanks!