so, i'm sure this is not a new question: but haven't been able to work out an answer - how can i ingest existing logs and have the correct timestamp?
nhhagen has quit
GregMefford has quit
KidCartouche joined the channel
dsolsona joined the channel
bradgignac has quit
GregMefford joined the channel
dsolsona has quit
saurajeetd has quit
stonith has quit
nhhagen joined the channel
Bastian1 joined the channel
kaspergrubbe joined the channel
martijnvg joined the channel
ptrf has quit
cultav1x joined the channel
jhulten has quit
fenrus02 has quit
nhhagen_ has quit
tessier
Anyone here familiar with the kv filter? Some of my logs have a field type=foobar which is overriding the actual type I've assigned to that log source. Very annoying. I could always do away with kv and write some regex to grok it but it's rather nasty.
Vali : morning
teu joined the channel
newbie672 joined the channel
teu has left the channel
cultav1x has quit
newbie672
How is it possible to index old data in ES, e.g. data from the whole last year? Is anyone familiar with it?
ahatfiel
newbie672: trying to do the same thing
Spoon[] joined the channel
if i nc localhost port < logfile it is ingested with the current @timestamp. trying to get it to have @timestamp as DATE and TIME
ade_b joined the channel
newbie672
you have to use the date filter
trombik joined the channel
but you need alos an existing index in ES
ade_b
hi - in the docs it says you must use elastic search 0.90.3 - does this mean 0.90.3 or above?
trombik has quit
newbie672
I am using 0.90.5
without any problem
ahatfiel
0.90.7-1 here. works
bradgignac joined the channel
ptrf joined the channel
StarBeast joined the channel
GregMefford2 joined the channel
newbie672
Back to the problem. Logstash normally create on index per day in ES. For example...If your indices in ES starting from Logstash-2013.11.27...what happens, if I import and parse data with logstash from 2012.11.27. How is it possible to reindex them?
clouseau_ joined the channel
paradoxbound joined the channel
digiv joined the channel
libtek1 joined the channel
For entity, I have to use the date filter to set the correct @timestamp. But I haven not an index in ES for this time, so nothing will show up.
ade_b
thanks ahatfiel
awheeler_ joined the channel
ahatfiel
newbie672: have you seen the elasticsearch input? may help. reading now for my issue also
ahhh, looks like Jordan has made a youtube for adding old logs! :)