Resolve Rsyslog+loganalyzer cannot display both IP and host names

Source: Internet
Author: User
Tags php source code rsyslog

Environment:

*********************

Adiscon Loganalyzer Version 3.4.3

[Root@centos100 ~]# Cat/etc/issue

CentOS Release 5.6 (Final)

*********************

See the title, may be some people will disdain, the answer is nothing but a new view, the establishment of dbmappings. I'm very responsible to tell you, No. I am here to modify the PHP source code method, to achieve. Crap don't say much, just open it

Recently engaged in Rsyslog+loganalyzer to achieve centralized log management, but after the installation, found that only the host name, no IP, on the Internet to find some articles for reference, either can only display IP, or only display the hostname, there is also the need to add a view, When I add a view, I find that I can't get multiple fields. So think of the modification of the database, modify the database found still wrong.

It's normal to add the first field

When I added the second field, I was surprised to find out, fuck, what happened to this mud ma

Why does the first field become an array? Mud ma, called Ya Baa dish also no use AH. Then continue to add, just one by one covering, I went to a. A yarn?

Originally wanted to correct this bug, and then how to say that I also saw a few days of PHP, thinking that the ability of the old couple, can be done. The results found, is really the first big, learning when MVC did not learn, directly modify view.php appears to be aborted. But you can't just give up. The result is to modify its own view and find the following

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.