Did you ever find a solution for this?

[email protected] schrieb am Samstag, 30. Januar 2021 um 16:09:58 UTC+1:

> It does not matter. The question is how to change the data output, not 
> about the logs. It can be anything.
>
> суббота, 30 января 2021 г. в 17:06:43 UTC+2, [email protected]: 
>
>> Yes, these are event logs. They contain too much cardinality and are not 
>> something you can put in Prometheus. I recommend using a logging system, 
>> like a syslog service.
>>
>> On Sat, Jan 30, 2021 at 3:55 PM Антон Зубков <[email protected]> wrote:
>>
>>> iDRAC-SMIv2::eventLogDateName / 1.3.6.1.4.1.674.10892.5.4.300.40.1.8
>>> From snmp_exporter I get 20201222152131.000000+120 but I need 12/22/20 
>>> 15:21:31
>>>
>>>
>>>
>>> суббота, 30 января 2021 г. в 16:46:43 UTC+2, [email protected]: 
>>>
>>>> What OIDs/MIBs are you looking at?
>>>>
>>>> Prometheus is not a logging system, This data would likely break your 
>>>> Prometheus server.
>>>>
>>>> On Sat, Jan 30, 2021 at 3:43 PM Антон Зубков <[email protected]> 
>>>> wrote:
>>>>
>>>>> Where can I read doc about overrides and regex_extracts:? I try but 
>>>>> errors every time...
>>>>>
>>>>> пятница, 29 января 2021 г. в 01:15:52 UTC+2, Антон Зубков: 
>>>>>
>>>>>> Hi,
>>>>>> Have a little problem with Dell iDrac 8 SNMP. Log dates have 
>>>>>> 20201222152131.000000+120 format. How can I regex in DD\MM\YYYY HH:MM:ss 
>>>>>> format?
>>>>>> In telegraf this is:
>>>>>> [[processors.regex]]
>>>>>>   [[processors.regex.fields]]
>>>>>>     key = "log-dates"
>>>>>>     pattern = 
>>>>>> "^(?P<YYYY>\\d{4})(?P<MM>\\d{2})(?P<DD>\\d{2})(?P<HH>\\d{2})(?P<mm>\\d{2})(?P<ss>\\d{2})\\.(?P<SSSSSS>\\d{6})(?P<ZZ>[-+]\\d{3,4})$"
>>>>>>     replacement = "${YYYY}-${MM}-${DD} ${HH}:${mm}:${ss}"
>>>>>>
>>>>>> How do the same in snmp_exporter or Prometheus?
>>>>>>  Thanks!
>>>>>>
>>>>> -- 
>>>>> You received this message because you are subscribed to the Google 
>>>>> Groups "Prometheus Users" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>>> an email to [email protected].
>>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/prometheus-users/34434852-216d-43a8-bd75-3d1a9488f1b6n%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/prometheus-users/34434852-216d-43a8-bd75-3d1a9488f1b6n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Prometheus Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>>
>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/prometheus-users/3075a621-6378-4952-badd-b8962aaa28d3n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/prometheus-users/3075a621-6378-4952-badd-b8962aaa28d3n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/52edf2a8-4f48-4041-b47e-cf573f726543n%40googlegroups.com.

Reply via email to