Well i try again with another example, bc this didn't work to me. 😞 in my search for example i have:
index = help source=/Info.log sourcetype=info "Today is a pretty day. My name is: Daniel, and I am: 50 years old and I live on: CC.1234.55541.
this finds me specific example, but in log i can have different name/age/street, so i need to substitute it with something else which reads the value =>save it and then i can save the report and create dashboard which will be scheduled for specific time at everyday and send report if it finds this sentence in the log. If doesnt find then it won't send anything.
looking for something like: "Today is a pretty day. My name is: scanf(a,"%s"), and I am: scanf(b,"%s") years old and I live on: scanf(c,"%s")."
now i would have 3 values(a,b,c) and would create a sentence: We found him, he is 'b' years old and lives on 'c' address.
probably it's very simple, but this is my 2nd week with splunk...
... View more