Always I need to change Target Index

Hi All,

HAProxy Logs - Always I need to change the Target Index to get exact ha_response_code. Every month on Date 9th and on 30th or 31st I need to change the target index to get exact ha_response_code. Am I missing something? Please help me with this. I am adding the screenshot that defines the settings that I have done.

Graylog version - 2.4.6
Elasticsearch - 5.6

Thanks

I think it’s because of date the 2nd field - when It is date 9 then it simply print 9 not 09, because of this it count two space character before date. How can I fix it.

Please help

maybe one of the already shared contributions on the marketplace can help:

@jan

Shared contributions are not helpful. I think my problem is totally different. Is this possible to change time format of HAProxy logs? I want to change the format from 9 to 09 i.e date will print in form of 09 not 9 only. Please guide me.

Is this possible to change time format of HAProxy logs? I want to change the format from 9 to 09 i.e date will print in form of 09 not 9 only.

you might want to ask that in the haproxy community

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