Hi Stanislav,

please 
see http://docs.graylog.org/en/1.3/pages/streams.html#email-alert-callback 
for a description of how to use the email template and which variables are 
available.


Cheers,
Jochen

On Friday, 22 January 2016 09:42:56 UTC+1, Stanislav An wrote:
>
> Hello, Jochen!
>
> Thank you for answer. But I still havea problem.
>
> I've created 2 extractors. From full message I extracted IP and Command 
> fields. In Dashboards I see these fields. I tried to rewrite callback.
> ${foreach backlog message}${message} - was by default
>
> ${foreach backlog message}${Ip} ${Command} - my version
>
> I think it doesnt work because of my wrong syntax
>
> вторник, 19 января 2016 г., 16:12:44 UTC+3 пользователь Jochen Schalanda 
> написал:
>>
>> Hi Stanislav,
>>
>> you can edit the email template for the Email Alert Callback in the 
>> Graylog web interface at Streams -> Manage alerts -> Edit callback. Within 
>> this template, you can access any message field.
>>
>>
>> Cheers,
>> Jochen
>>
>> On Tuesday, 19 January 2016 13:19:52 UTC+1, Stanislav An wrote:
>>>
>>> Hi all!
>>>
>>> Have a question. Is it possible to get email notifications not with full 
>>> log message from host, but with only specific fields, which i determined in 
>>> extractors?
>>>
>>> Or maybe you have some email designer?
>>>
>>> best regards,
>>> Stanislav
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/0029845d-dcff-4cf0-a9be-f9f93507906a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to