Hi,
i’ve a working json http input but i see that if’ve no new infos the input continue to replicate the last value.
there’s a way to tell graylog to get only new value from json?
From Graylog
{ID=8870151220755677376, LoginID=8870151220755677376, Date=09/04/2019 08:21:43, User=Andrea Consadori (xxx@xxx.it), OperationLog=logged in, OperationType=1, Parameters={IP Address=172.16.xxx.254, Browser Type=NOTEBOOKxxx (Windows 10 Enterprise), Profile Type=Active Directory, Two step verification=No, Device Type=xxxx}}
{ID=8870151220755677376, LoginID=8870151220755677376, Date=09/04/2019 08:21:43, User=Andrea Consadori (xxx@xxx.it), OperationLog=logged in, OperationType=1, Parameters={IP Address=172.16.xxx.254, Browser Type=NOTEBOOKxxx (Windows 10 Enterprise), Profile Type=Active Directory, Two step verification=No, Device Type=xxxx}}
{ID=8870151220755677376, LoginID=8870151220755677376, Date=09/04/2019 08:21:43, User=Andrea Consadori (xxx@xxx.it), OperationLog=logged in, OperationType=1, Parameters={IP Address=172.16.xxx.254, Browser Type=NOTEBOOKxxx (Windows 10 Enterprise), Profile Type=Active Directory, Two step verification=No, Device Type=xxxx}}
From Json query
[
{
“ID”: 8870151220755677000,
“LoginID”: 8870151220755677000,
“Date”: “09/04/2019 08:21:43”,
“User”: “xxxxxx(xx.xxi@xxxx.it)”,
“OperationLog”: “logged in”,
“OperationType”: 1,
“Parameters”: {
“IP Address”: “172.16.xxx.xxxx”,
“Browser Type”: “NOTEBOOKxxxxx (Windows 10 Enterprise)”,
“Profile Type”: “Active Directory”,
“Two step verification”: “No”,
“Device Type”: “xxxxx”
}
},
{
“ID”: 8632463399569285000,
“LoginID”: 8632463399569285000,
“Date”: “09/04/2019 08:15:53”,
“User”: “yyyy (yyyy@yyyy.it)”,
“OperationLog”: “logged in”,
“OperationType”: 1,
“Parameters”: {
“IP Address”: “172.16.yyyy.yyyy”,
“Browser Type”: “curl/7.38.0”,
“Profile Type”: “yyyyy”,
“Two step verification”: “No”,
“Device Type”: “REST API”
}
on api side this is the only options i’ve
URL: /admin/audit METHOD: GET PARAMS: From: timestamp To: timestamp