radiumfu / enterprise-log-search-and-archive

Automatically exported from code.google.com/p/enterprise-log-search-and-archive
0 stars 0 forks source link

From date/time keeps decrementing each time you do a search #107

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.do a search and change the from date, to today. ex: 2013-03-14 13:18:41.000
2.modify the search or just do the search again

What is the expected output? 
From: 2013-03-14 13:18:41.000

What do you see instead?
From: 2013-03-14 12:18:41.000

What version of the product are you using? 
712

On what operating system?
Ubuntu 12.04.10

Please provide any additional information below.

The from date keeps decrementing 1 hour pr search  

Original issue reported on code.google.com by jacobrav...@gmail.com on 14 Mar 2013 at 1:26

GoogleCodeExporter commented 8 years ago
This is fixed in an upcoming commit, I'll close this ticket when I commit that 
change, which should be within a day or so.

Original comment by mchol...@gmail.com on 14 Mar 2013 at 1:49

GoogleCodeExporter commented 8 years ago
Fixed in 714

Original comment by mchol...@gmail.com on 25 Mar 2013 at 2:58

GoogleCodeExporter commented 8 years ago
I does not work in 721

Exported revision 721.
Latest MD5: fee2be0d1a62f18ad1b9d43a76115a4d
get_elsa success
Executing update_web_mysql
Updating web MySQL, please ignore any errors for this section...
Finished updating MySQL
update_web_mysql success
Executing validate_config
Invalid configuration: invalid: archive
Config is invalid: archive
validate_config FAIL

Original comment by jacobrav...@gmail.com on 25 Mar 2013 at 10:57

GoogleCodeExporter commented 8 years ago
What does the archive config section of your /etc/elsa_node.conf look like?  Do 
you have archive turned off?  Try the latest code.

Original comment by mchol...@gmail.com on 25 Mar 2013 at 3:05

GoogleCodeExporter commented 8 years ago
        "archive": {
                # Uncomment to establish a retention period in days for archive logs
                "days": 30,
                #"percentage": 33,
                #"table_size": 10000000,
        },

Original comment by jacobrav...@gmail.com on 25 Mar 2013 at 9:08

GoogleCodeExporter commented 8 years ago
table_size needs to be present, can you uncomment it and retry?

Original comment by mchol...@gmail.com on 25 Mar 2013 at 9:34

GoogleCodeExporter commented 8 years ago
I did that but NO change. And i did a complete reinstall of OS and ELSA, now 
there is no events getting logged. 

Original comment by jacobrav...@gmail.com on 26 Mar 2013 at 12:23

GoogleCodeExporter commented 8 years ago
You are getting an error with validate_config still?  Can you send me your 
elsa_node.conf privately?

Original comment by mchol...@gmail.com on 26 Mar 2013 at 12:46

GoogleCodeExporter commented 8 years ago
Hi, i have reinstalled ELSA from new ubuntu and fresh install script. BUT im 
getting no  logs

durgin installation i get this error.

Sleeping for 60 seconds to allow ELSA to init...
init_elsa success
Executing test_elsa
Sending test log messages...
average rate = 1891.51 msg/sec, count=1892, time=1.002, (last) msg size=256, 
bandwidth=472.88 kB/sec
Sleeping for 60 seconds to allow ELSA to load batch...
Undefined subroutine &Log::Log4perl::init called at 
/usr/local/elsa/node/Indexer.pm line 66.
test_elsa FAIL

Original comment by jacobrav...@gmail.com on 26 Mar 2013 at 9:36

GoogleCodeExporter commented 8 years ago
This should now be fixed, try again, please.

Original comment by mchol...@gmail.com on 26 Mar 2013 at 7:44

GoogleCodeExporter commented 8 years ago
It's now working, thanks

Original comment by jacobrav...@gmail.com on 27 Mar 2013 at 1:58