Hi Geeks
May 11 16:41:52 115-186-137-215.nayatel.pk {"timestamp":
"2016-05-11T16:41:49.443344","flow_id":140292427877408,"in_iface":"eth0","event_type":"fileinfo","src_ip":"74.208.244.59","src_port":80,"dest_ip":"192.168.6.106","dest_port":63246,"proto":"TCP","http":{"url":"\/wp-content\/uploads\/dtcalls-button.png","hostname":"
www.dtcalls.com","http_refer":"http:\/\/cardabilities.blogspot.com\/","http_user_agent":"Mozilla\/5.0
(Windows NT 6.1; WOW64) AppleWebKit\/537.36 (KHTML, like Gecko)
Chrome\/50.0.2661.94
Safari\/537.36"},"fileinfo":{"filename":"\/wp-content\/uploads\/dtcalls-button.png","state":"CLOSED","stored":false,"size":268,"tx_id":0}}
May 11 16:41:52 115-186-137-215.nayatel.pk {"timestamp":
"2016-05-11T16:41:49.488833","flow_id":140292429080288,"in_iface":"eth0","event_type":"fileinfo","src_ip":"192.30.252.153","src_port":80,"dest_ip":"192.168.6.106","dest_port":63244,"proto":"TCP","http":{"url":"\/hit.php?id=489586&counter=16","hostname":"
hit-counter.info","http_refer":"http:\/\/cardabilities.blogspot.com\/","http_user_agent":"Mozilla\/5.0
(Windows NT 6.1; WOW64) AppleWebKit\/537.36 (KHTML, like Gecko)
Chrome\/50.0.2661.94
Safari\/537.36"},"fileinfo":{"filename":"\/hit.php","state":"CLOSED","stored":false,"size":147,"tx_id":0}}
There are two queries.
What i have to do if need IP address instead of 115-186-137-215.nayatel.pk.
What i should do if i need hostname instead of 115-186-137-215.nayatel.pk.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.