@@ -610,8 +610,8 @@ func TestToComponents(t *testing.T) {
610
610
ID : "filestream-default" ,
611
611
InputSpec : & InputRuntimeSpec {
612
612
InputType : "filestream" ,
613
- BinaryName : "filebeat " ,
614
- BinaryPath : filepath .Join (".." , ".." , "specs" , "filebeat " ),
613
+ BinaryName : "testbeat " ,
614
+ BinaryPath : filepath .Join (".." , ".." , "specs" , "testbeat " ),
615
615
},
616
616
Units : []Unit {
617
617
{
@@ -839,8 +839,8 @@ func TestToComponents(t *testing.T) {
839
839
OutputType : "elasticsearch" ,
840
840
InputSpec : & InputRuntimeSpec {
841
841
InputType : "filestream" ,
842
- BinaryName : "filebeat " ,
843
- BinaryPath : filepath .Join (".." , ".." , "specs" , "filebeat " ),
842
+ BinaryName : "testbeat " ,
843
+ BinaryPath : filepath .Join (".." , ".." , "specs" , "testbeat " ),
844
844
},
845
845
Units : []Unit {
846
846
{
@@ -948,8 +948,8 @@ func TestToComponents(t *testing.T) {
948
948
OutputType : "elasticsearch" ,
949
949
InputSpec : & InputRuntimeSpec {
950
950
InputType : "filestream" ,
951
- BinaryName : "filebeat " ,
952
- BinaryPath : filepath .Join (".." , ".." , "specs" , "filebeat " ),
951
+ BinaryName : "testbeat " ,
952
+ BinaryPath : filepath .Join (".." , ".." , "specs" , "testbeat " ),
953
953
},
954
954
Units : []Unit {
955
955
{
@@ -1059,8 +1059,8 @@ func TestToComponents(t *testing.T) {
1059
1059
OutputType : "elasticsearch" ,
1060
1060
InputSpec : & InputRuntimeSpec {
1061
1061
InputType : "filestream" ,
1062
- BinaryName : "filebeat " ,
1063
- BinaryPath : filepath .Join (".." , ".." , "specs" , "filebeat " ),
1062
+ BinaryName : "testbeat " ,
1063
+ BinaryPath : filepath .Join (".." , ".." , "specs" , "testbeat " ),
1064
1064
},
1065
1065
Units : []Unit {
1066
1066
{
@@ -1219,8 +1219,8 @@ func TestToComponents(t *testing.T) {
1219
1219
OutputType : "elasticsearch" ,
1220
1220
InputSpec : & InputRuntimeSpec {
1221
1221
InputType : "filestream" ,
1222
- BinaryName : "filebeat " ,
1223
- BinaryPath : filepath .Join (".." , ".." , "specs" , "filebeat " ),
1222
+ BinaryName : "testbeat " ,
1223
+ BinaryPath : filepath .Join (".." , ".." , "specs" , "testbeat " ),
1224
1224
},
1225
1225
Units : []Unit {
1226
1226
{
@@ -1256,8 +1256,8 @@ func TestToComponents(t *testing.T) {
1256
1256
OutputType : "elasticsearch" ,
1257
1257
InputSpec : & InputRuntimeSpec {
1258
1258
InputType : "filestream" ,
1259
- BinaryName : "filebeat " ,
1260
- BinaryPath : filepath .Join (".." , ".." , "specs" , "filebeat " ),
1259
+ BinaryName : "testbeat " ,
1260
+ BinaryPath : filepath .Join (".." , ".." , "specs" , "testbeat " ),
1261
1261
},
1262
1262
Units : []Unit {
1263
1263
{
@@ -1293,8 +1293,8 @@ func TestToComponents(t *testing.T) {
1293
1293
OutputType : "elasticsearch" ,
1294
1294
InputSpec : & InputRuntimeSpec {
1295
1295
InputType : "log" ,
1296
- BinaryName : "filebeat " ,
1297
- BinaryPath : filepath .Join (".." , ".." , "specs" , "filebeat " ),
1296
+ BinaryName : "testbeat " ,
1297
+ BinaryPath : filepath .Join (".." , ".." , "specs" , "testbeat " ),
1298
1298
},
1299
1299
Units : []Unit {
1300
1300
{
@@ -1316,7 +1316,6 @@ func TestToComponents(t *testing.T) {
1316
1316
},
1317
1317
{
1318
1318
ID : "log-default-logfile-1" ,
1319
- Type : client .UnitTypeInput ,
1320
1319
LogLevel : defaultUnitLogLevel ,
1321
1320
Config : MustExpectedConfig (map [string ]interface {}{
1322
1321
"type" : "log" ,
@@ -1330,8 +1329,8 @@ func TestToComponents(t *testing.T) {
1330
1329
OutputType : "elasticsearch" ,
1331
1330
InputSpec : & InputRuntimeSpec {
1332
1331
InputType : "log" ,
1333
- BinaryName : "filebeat " ,
1334
- BinaryPath : filepath .Join (".." , ".." , "specs" , "filebeat " ),
1332
+ BinaryName : "testbeat " ,
1333
+ BinaryPath : filepath .Join (".." , ".." , "specs" , "testbeat " ),
1335
1334
},
1336
1335
Units : []Unit {
1337
1336
{
@@ -1358,8 +1357,8 @@ func TestToComponents(t *testing.T) {
1358
1357
OutputType : "logstash" ,
1359
1358
InputSpec : & InputRuntimeSpec {
1360
1359
InputType : "log" ,
1361
- BinaryName : "filebeat " ,
1362
- BinaryPath : filepath .Join (".." , ".." , "specs" , "filebeat " ),
1360
+ BinaryName : "testbeat " ,
1361
+ BinaryPath : filepath .Join (".." , ".." , "specs" , "testbeat " ),
1363
1362
},
1364
1363
Units : []Unit {
1365
1364
{
@@ -1386,8 +1385,8 @@ func TestToComponents(t *testing.T) {
1386
1385
OutputType : "redis" ,
1387
1386
InputSpec : & InputRuntimeSpec {
1388
1387
InputType : "log" ,
1389
- BinaryName : "filebeat " ,
1390
- BinaryPath : filepath .Join (".." , ".." , "specs" , "filebeat " ),
1388
+ BinaryName : "testbeat " ,
1389
+ BinaryPath : filepath .Join (".." , ".." , "specs" , "testbeat " ),
1391
1390
},
1392
1391
Units : []Unit {
1393
1392
{
@@ -1828,8 +1827,8 @@ func TestToComponents(t *testing.T) {
1828
1827
OutputType : "elasticsearch" ,
1829
1828
InputSpec : & InputRuntimeSpec {
1830
1829
InputType : "filestream" ,
1831
- BinaryName : "filebeat " ,
1832
- BinaryPath : filepath .Join (".." , ".." , "specs" , "filebeat " ),
1830
+ BinaryName : "testbeat " ,
1831
+ BinaryPath : filepath .Join (".." , ".." , "specs" , "testbeat " ),
1833
1832
},
1834
1833
Units : []Unit {
1835
1834
{
@@ -2087,8 +2086,8 @@ func TestToComponents(t *testing.T) {
2087
2086
OutputType : "elasticsearch" ,
2088
2087
InputSpec : & InputRuntimeSpec {
2089
2088
InputType : "filestream" ,
2090
- BinaryName : "filebeat " ,
2091
- BinaryPath : filepath .Join (".." , ".." , "specs" , "filebeat " ),
2089
+ BinaryName : "testbeat " ,
2090
+ BinaryPath : filepath .Join (".." , ".." , "specs" , "testbeat " ),
2092
2091
},
2093
2092
Units : []Unit {
2094
2093
{
@@ -2130,8 +2129,8 @@ func TestToComponents(t *testing.T) {
2130
2129
OutputType : "elasticsearch" ,
2131
2130
InputSpec : & InputRuntimeSpec {
2132
2131
InputType : "filestream" ,
2133
- BinaryName : "filebeat " ,
2134
- BinaryPath : filepath .Join (".." , ".." , "specs" , "filebeat " ),
2132
+ BinaryName : "testbeat " ,
2133
+ BinaryPath : filepath .Join (".." , ".." , "specs" , "testbeat " ),
2135
2134
},
2136
2135
Units : []Unit {
2137
2136
{
@@ -2168,8 +2167,8 @@ func TestToComponents(t *testing.T) {
2168
2167
OutputType : "elasticsearch" ,
2169
2168
InputSpec : & InputRuntimeSpec {
2170
2169
InputType : "log" ,
2171
- BinaryName : "filebeat " ,
2172
- BinaryPath : filepath .Join (".." , ".." , "specs" , "filebeat " ),
2170
+ BinaryName : "testbeat " ,
2171
+ BinaryPath : filepath .Join (".." , ".." , "specs" , "testbeat " ),
2173
2172
},
2174
2173
Units : []Unit {
2175
2174
{
@@ -2280,8 +2279,8 @@ func TestToComponents(t *testing.T) {
2280
2279
OutputType : "elasticsearch" ,
2281
2280
InputSpec : & InputRuntimeSpec {
2282
2281
InputType : "log" ,
2283
- BinaryName : "filebeat " ,
2284
- BinaryPath : filepath .Join (".." , ".." , "specs" , "filebeat " ),
2282
+ BinaryName : "testbeat " ,
2283
+ BinaryPath : filepath .Join (".." , ".." , "specs" , "testbeat " ),
2285
2284
},
2286
2285
Units : []Unit {
2287
2286
{
@@ -2309,8 +2308,8 @@ func TestToComponents(t *testing.T) {
2309
2308
OutputType : "logstash" ,
2310
2309
InputSpec : & InputRuntimeSpec {
2311
2310
InputType : "log" ,
2312
- BinaryName : "filebeat " ,
2313
- BinaryPath : filepath .Join (".." , ".." , "specs" , "filebeat " ),
2311
+ BinaryName : "testbeat " ,
2312
+ BinaryPath : filepath .Join (".." , ".." , "specs" , "testbeat " ),
2314
2313
},
2315
2314
Units : []Unit {
2316
2315
{
@@ -2380,8 +2379,8 @@ func TestToComponents(t *testing.T) {
2380
2379
OutputType : "redis" ,
2381
2380
InputSpec : & InputRuntimeSpec {
2382
2381
InputType : "log" ,
2383
- BinaryName : "filebeat " ,
2384
- BinaryPath : filepath .Join (".." , ".." , "specs" , "filebeat " ),
2382
+ BinaryName : "testbeat " ,
2383
+ BinaryPath : filepath .Join (".." , ".." , "specs" , "testbeat " ),
2385
2384
},
2386
2385
Units : []Unit {
2387
2386
{
@@ -3078,8 +3077,8 @@ func TestToComponents(t *testing.T) {
3078
3077
OutputType : "elasticsearch" ,
3079
3078
InputSpec : & InputRuntimeSpec {
3080
3079
InputType : "log" ,
3081
- BinaryName : "filebeat " ,
3082
- BinaryPath : filepath .Join (".." , ".." , "specs" , "filebeat " ),
3080
+ BinaryName : "testbeat " ,
3081
+ BinaryPath : filepath .Join (".." , ".." , "specs" , "testbeat " ),
3083
3082
},
3084
3083
Units : []Unit {
3085
3084
{
@@ -3136,8 +3135,8 @@ func TestToComponents(t *testing.T) {
3136
3135
OutputType : "elasticsearch" ,
3137
3136
InputSpec : & InputRuntimeSpec {
3138
3137
InputType : "filestream" ,
3139
- BinaryName : "filebeat " ,
3140
- BinaryPath : filepath .Join (".." , ".." , "specs" , "filebeat " ),
3138
+ BinaryName : "testbeat " ,
3139
+ BinaryPath : filepath .Join (".." , ".." , "specs" , "testbeat " ),
3141
3140
},
3142
3141
Units : []Unit {
3143
3142
{
@@ -3249,8 +3248,8 @@ func TestToComponents(t *testing.T) {
3249
3248
OutputType : "elasticsearch" ,
3250
3249
InputSpec : & InputRuntimeSpec {
3251
3250
InputType : "filestream" ,
3252
- BinaryName : "filebeat " ,
3253
- BinaryPath : filepath .Join (".." , ".." , "specs" , "filebeat " ),
3251
+ BinaryName : "testbeat " ,
3252
+ BinaryPath : filepath .Join (".." , ".." , "specs" , "testbeat " ),
3254
3253
},
3255
3254
Units : []Unit {
3256
3255
{
@@ -3364,8 +3363,8 @@ func TestToComponents(t *testing.T) {
3364
3363
OutputType : "kafka" ,
3365
3364
InputSpec : & InputRuntimeSpec {
3366
3365
InputType : "filestream" ,
3367
- BinaryName : "filebeat " ,
3368
- BinaryPath : filepath .Join (".." , ".." , "specs" , "filebeat " ),
3366
+ BinaryName : "testbeat " ,
3367
+ BinaryPath : filepath .Join (".." , ".." , "specs" , "testbeat " ),
3369
3368
},
3370
3369
Units : []Unit {
3371
3370
{
@@ -3468,8 +3467,8 @@ func TestToComponents(t *testing.T) {
3468
3467
OutputType : "logstash" ,
3469
3468
InputSpec : & InputRuntimeSpec {
3470
3469
InputType : "filestream" ,
3471
- BinaryName : "filebeat " ,
3472
- BinaryPath : filepath .Join (".." , ".." , "specs" , "filebeat " ),
3470
+ BinaryName : "testbeat " ,
3471
+ BinaryPath : filepath .Join (".." , ".." , "specs" , "testbeat " ),
3473
3472
},
3474
3473
Units : []Unit {
3475
3474
{
0 commit comments