Quantcast
Channel: Questions in topic: "universal-forwarder"
Viewing all articles
Browse latest Browse all 1551

What kind of situation should I configure "SHOULD_LINEMERGE" on the UF side?

$
0
0
My environment: UF ver 7.2.3 on windows Indexer ver 7.2.3 on Linux My UF is monitoring log that has second header line in middle of log like below. * I don't know why, but this is specifications of certain product... *This log is not `CSV`, also not any kind of structered data. time message 2019/02/05 10:00:00 this is test 2019/02/05 11:00:00 this is test 2019/02/05 12:00:00 this is test time message 2019/02/05 13:00:00 this is test 2019/02/05 14:00:00 this is test I was thinking to avoid first header line by below settings, and ignore second header line. Indexer's `props.conf` [test] DATETIME_CONFIG = SHOULD_LINEMERGE = false TIME_FORMAT = %Y/%m/%d %H:%M:%S TZ = Asia/Tokyo category = Custom disabled = false pulldown_type = true LINE_BREAKER = ([\r\n]+) UF's `props.conf` [test] CHARSET = UTF-8 NO_BINARY_CHECK = true disabled = false HEADER_FIELD_LINE_NUMBER = 2 But one event above second header line was merged with header line like below capture. ![alt text][1] Anyway, I added `SHOULD_LINEMERGE = false` to UF's `props.conf`, then it was solved. **But I can't understand how it works!** **I think that I have to configure `SHOULD_LINEMERGE = false` to `props.conf` of Indexer or HF, but is it wrong?** **Is there some situation that I have to configure it to `props.conf` of UF?** **Please someone tell me about it.** [1]: /storage/temp/268584-capture.png [2]: /storage/temp/268585-sample.txt

Viewing all articles
Browse latest Browse all 1551

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>